2020-10-07 23:29:49 +00:00
|
|
|
set -xg EDITOR vim
|
2018-11-28 16:08:06 +00:00
|
|
|
set -xg TZ 'America/Detroit'
|
2018-07-22 19:39:58 +00:00
|
|
|
|
2018-08-08 18:55:26 +00:00
|
|
|
if test -d ~/Maildir
|
|
|
|
set -x MAIL ~/Maildir
|
|
|
|
end
|
|
|
|
|
2021-08-29 19:37:04 +00:00
|
|
|
for i in ~/bin ~/.yarn/bin ~/.rbenv/bin ~/.local/bin ~/.cargo/bin
|
2020-10-07 23:29:49 +00:00
|
|
|
if test -d $i && not contains $i $PATH
|
2019-07-24 16:03:29 +00:00
|
|
|
set -x fish_user_paths $fish_user_paths $i
|
2018-08-08 18:55:26 +00:00
|
|
|
end
|
|
|
|
end
|
2018-07-22 19:39:58 +00:00
|
|
|
|
2021-08-29 19:37:04 +00:00
|
|
|
# add rbenv paths
|
|
|
|
status --is-interactive && type -q rbenv && source (rbenv init -|psub)
|
|
|
|
|
2018-11-28 16:08:06 +00:00
|
|
|
#set -x SSH_AGENT_PID ""
|
2018-08-20 23:10:29 +00:00
|
|
|
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
|
2018-07-30 23:56:18 +00:00
|
|
|
|
2018-08-05 14:07:29 +00:00
|
|
|
set -x BBJ_USER $USER
|
|
|
|
|
2022-01-14 21:18:27 +00:00
|
|
|
# add dotnet completions if needed
|
|
|
|
if status --is-interactive && type -q dotnet
|
|
|
|
complete -f -c dotnet -a "(dotnet complete)"
|
|
|
|
end
|
|
|
|
|
2019-03-22 16:20:02 +00:00
|
|
|
# load postexec_insult
|
|
|
|
postexec_insult
|
|
|
|
|
2022-01-14 21:18:27 +00:00
|
|
|
status --is-login && status --is-interactive && exec byobu-launcher
|
|
|
|
|