1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-12-04 01:59:55 +00:00
dotfiles/dot_hooks.tmpl

22 lines
550 B
Cheetah
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"
2023-03-02 18:46:05 +00:00
export FPATH="$HOME/.ion/completions:$FPATH"
2023-03-02 18:44:20 +00:00
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 }}