bens-dotfiles/fish/.config/fish/config.fish

37 lines
842 B
Fish

set -xg EDITOR vim
set -xg TZ 'America/Detroit'
if test -d ~/Maildir
set -x MAIL ~/Maildir
end
for i in ~/bin ~/.yarn/bin ~/.rbenv/bin ~/.local/bin ~/.cargo/bin
if test -d $i && not contains $i $PATH
set -x fish_user_paths $fish_user_paths $i
end
end
# add rbenv paths
status --is-interactive && type -q rbenv && source (rbenv init -|psub)
#set -x SSH_AGENT_PID ""
if test -S $HOME/.gnupg/S.gpg-agent
set -x SSH_AUTH_SOCK $HOME/.gnupg/S.gpg-agent
set -x GPG_SOCK $HOME/.gnupg/S.gpg-agent
else
set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
end
set -x BBJ_USER $USER
# add dotnet completions if needed
if status --is-interactive && type -q dotnet
complete -f -c dotnet -a "(dotnet complete)"
end
# load postexec_insult
postexec_insult
status --is-login && status --is-interactive && exec byobu-launcher