This repository has been archived on 2022-08-21. You can view files and clone it, but cannot push or open issues or pull requests.
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

8 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