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:
parent
ba3dfc5f52
commit
99c8b6ec4b
3 changed files with 5 additions and 9 deletions
|
@ -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)
|
||||
|
|
|
@ -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\]] \\$ "
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue