mirror of
https://github.com/MillironX/dotfiles.git
synced 2024-12-04 01:59:55 +00:00
38 lines
1.1 KiB
Cheetah
38 lines
1.1 KiB
Cheetah
# >>> conda initialize >>>
|
|
# !! Contents within this block are managed by 'conda init' !!
|
|
__conda_setup="$($HOME/miniconda3/bin/conda shell.$(basename $(readlink -f /proc/$$/exe)) 'hook' 2> /dev/null)"
|
|
if [ $? -eq 0 ]; then
|
|
eval "$__conda_setup"
|
|
else
|
|
if [ -f "$HOME/miniconda3/etc/profile.d/conda.sh" ]; then
|
|
. "$HOME/miniconda3/etc/profile.d/conda.sh"
|
|
else
|
|
export PATH="$HOME/miniconda3/bin:$PATH"
|
|
fi
|
|
fi
|
|
unset __conda_setup
|
|
|
|
if [ -f "$HOME/miniconda3/etc/profile.d/mamba.sh" ]; then
|
|
. "$HOME/miniconda3/etc/profile.d/mamba.sh"
|
|
fi
|
|
# <<< conda initialize <<<
|
|
|
|
{{- if lookPath "direnv" }}
|
|
eval "$(direnv hook $(basename $(readlink -f /proc/$$/exe)))"
|
|
{{- end }}
|
|
|
|
if [ -f $HOME/.ion/bin/ion ]; then
|
|
export PATH="$HOME/.ion/bin/ion:$PATH"
|
|
export FPATH="$HOME/.ion/completions:$FPATH"
|
|
fi
|
|
|
|
# Import GNU parallel
|
|
if [ $(command -v env_parallel.$(basename $(readlink -f /proc/$$/exe))) ]; then
|
|
source $(which env_parallel.$(basename $(readlink -f /proc/$$/exe)))
|
|
fi
|
|
|
|
{{- if eq .machinetype "workstation" }}
|
|
export GPG_TTY="$(tty)"
|
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
gpgconf --launch gpg-agent
|
|
{{- end }}
|