FollieHiyuki-dotfiles/home/.config/zsh/.zprofile
FollieHiyuki 657c371abe
shells: update pyenv initial process
pyenv doesn't set path with `init -` anymore.
Also set PATH only once in login shell.
2021-10-17 21:48:01 +07:00

9 lines
301 B
Bash

# PATH
typeset -U PATH path
path=("$HOME/.local/bin" "$HOME/.local/bin/fzf" "$NODENV_ROOT/bin" "$PYENV_ROOT/bin" "$POETRY_HOME/bin" "$CARGO_HOME/bin" "$GOPATH/bin" "$NPM_CONFIG_PREFIX/bin" "$path[@]")
export PATH
# if [[ "$(tty)" = "/dev/tty1" ]]; then
# exec startx $HOME/.config/X11/xinitrc
# fi