1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-11-15 03:13:10 +00:00
dotfiles/dot_hooks

22 lines
549 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
2023-03-02 18:44:20 +00:00
if [ -f $HOME/.ion/bin/ion ]; then
export PATH="$HOME/.ion/bin/ion:$PATH"
export FPATH=$HOME/.ion/completions:$FPATH"
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 }}