1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-11-22 05:29:54 +00:00
dotfiles/dot_hooks

16 lines
423 B
Text

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 eq .machinetype "workstation" }}
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
{{- end }}