2018-07-22 19:39:58 +00:00
|
|
|
status --is-login; and status --is-interactive; and exec byobu-launcher
|
|
|
|
|
2019-02-17 22:44:21 +00:00
|
|
|
if type -q nvim > /dev/null
|
|
|
|
set -xg EDITOR nvim
|
|
|
|
else
|
|
|
|
set -xg EDITOR vim
|
|
|
|
end
|
|
|
|
|
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
|
|
|
|
|
|
|
|
if test -d /usr/local/go
|
|
|
|
set -x GOPATH (/usr/local/go/bin/go env GOPATH)
|
|
|
|
end
|
|
|
|
|
2019-07-24 16:03:29 +00:00
|
|
|
for i in ~/bin /usr/local/go/bin ~/.yarn/bin $GOPATH/bin ~/.local/bin ~/.cargo/bin /snap/bin ~/.fzf/bin
|
|
|
|
if test -d $i; and not contains $i $PATH
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
2019-03-22 16:20:02 +00:00
|
|
|
# load postexec_insult
|
|
|
|
postexec_insult
|
|
|
|
|