set -x EDITOR 'nvim' set -x VISUAL 'nvim' set -x LPASS_CLIPBOARD_COMMAND wl-copy set -x MOZ_ENABLE_WAYLAND 1 set -x LS_OPTIONS "--color=auto" set -x LESS '-F -g -i -M -R -S -w -X -z-4' #alias artiq "conda activate artiq" if type -q "multipass" alias mp "multipass" end abbr gp "git pull --rebase" abbr gu "git push" abbr gc "git commit" abbr gs "git status" abbr gb "git branch" abbr gd "git diff" abbr ga "git add" abbr glog "git log –graph –decorate –oneline –all" if type -q "emanote" abbr n "cd ~/repos/notes" abbr ne "cd ~/repos/notes; nvim" end if test -d "~/repos" alias r "cd ~/repos" end # PATH stuff # Run ssh-agent if test -z "(pgrep ssh-agent)" eval (ssh-agent -c) > /dev/null # no output set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK set -Ux SSH_AGENT_PID $SSH_AGENT_PID set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK end if type -q "direnv" direnv hook fish | source set -g direnv_fish_mode eval_on_arrow end if type -q "kitty" alias icat="kitty +kitten icat" alias d="kitty +kitten diff" end # Keybindings fish_default_key_bindings