diff --git a/dot_hooks.tmpl b/dot_hooks.tmpl index 565dc5a..29097e0 100644 --- a/dot_hooks.tmpl +++ b/dot_hooks.tmpl @@ -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) diff --git a/executable_dot_bashrc.tmpl b/executable_dot_bashrc.tmpl index aac0dde..34b39c0 100644 --- a/executable_dot_bashrc.tmpl +++ b/executable_dot_bashrc.tmpl @@ -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\]] \\$ " diff --git a/executable_dot_zshrc.tmpl b/executable_dot_zshrc.tmpl index 734a0de..41cb7f8 100644 --- a/executable_dot_zshrc.tmpl +++ b/executable_dot_zshrc.tmpl @@ -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")