nixos/home/zprofile
2023-02-11 10:05:00 +00:00

11 lines
319 B
Bash

command -v pyenv && {
export PYENV_ROOT="$HOME/.pyenv"
echo $PATH | grep -i pyenv > /dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
}
if [[ -e $HOME/.ssh/id_ed25519 ]]
then
command -v keychain > /dev/null && eval $(keychain --eval --quiet --noask $HOME/.ssh/id_ed25519)
fi