1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-12-03 09:49:55 +00:00

refactor: Move env_parallel hooks to .hooks

This commit is contained in:
Thomas A. Christensen II 2023-04-15 18:12:14 -05:00
parent ba3dfc5f52
commit 99c8b6ec4b
Signed by: millironx
GPG key ID: 09335146883990B9
3 changed files with 5 additions and 9 deletions

View file

@ -26,6 +26,11 @@ if [ -f $HOME/.ion/bin/ion ]; then
export FPATH="$HOME/.ion/completions:$FPATH"
fi
# Import GNU parallel
if [ $(command -v env_parallel.$(basename $0)) ]; then
source $(which env_parallel.$(basename $0))
fi
{{- if eq .machinetype "workstation" }}
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)

View file

@ -13,9 +13,5 @@ source $HOME/.aliases
source $HOME/.envvar
if [ $(command -v env_parallel.bash) ]; then
source $(which env_parallel.bash)
fi
# Make the prompt pretty, just in case we're stuck in bash land
export PS1="[\[\e[32m\]\u\[\e[m\]@\[\e[33m\]\h\[\e[m\] \[\e[34m\]\W\[\e[m\]] \\$ "

View file

@ -68,11 +68,6 @@ source $HOME/.envvar
alias zshconfig="$EDITOR ~/.zshrc"
source $HOME/.aliases
# Import GNU parallel
if [ $(command -v env_parallel.zsh) ]; then
source $(which env_parallel.zsh)
fi
{{ if or
(eq .machinetype "workstation")
(eq .chezmoi.osRelease.id "fedora")