# if status is-interactive # Commands to run in interactive sessions can go here # end # Disable fish greeting set fish_greeting # Aliases alias ..='cd ..' alias ...='cd ../..' alias yt="youtube-dl -f bestvideo+bestaudio " alias yt-audio="youtube-dl --extract-audio --audio-format best " alias ls="exa" alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME' function sudo --description "Replacement for Bash 'sudo !!' command to run last command using sudo." if test "$argv" = !! eval command sudo $history[1] else command sudo $argv end end