1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-11-14 19:03:09 +00:00
dotfiles/dot_hooks

17 lines
423 B
Text
Raw Normal View History

2021-08-25 01:00:29 +00:00
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
2023-03-02 18:42:41 +00:00
{{- if eq .machinetype "workstation" }}
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
{{- end }}