1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-11-21 13:16:04 +00:00
dotfiles/dot_hooks.tmpl

21 lines
550 B
Cheetah

if [ -f $HOME/.rbenv/bin/rbenv ]; then
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
fi
if [ $(command -v n) ]; then
export N_PREFIX=$HOME/.n
export PATH="$HOME/.n/bin:$PATH"
fi
if [ -f $HOME/.ion/bin/ion ]; then
export PATH="$HOME/.ion/bin/ion:$PATH"
export FPATH="$HOME/.ion/completions:$FPATH"
fi
{{- if eq .machinetype "workstation" }}
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
{{- end }}