mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-24 16:28:22 -05:00
shells: update pyenv initial process
pyenv doesn't set path with `init -` anymore. Also set PATH only once in login shell.
This commit is contained in:
parent
6adbf27693
commit
657c371abe
@ -2,6 +2,9 @@
|
||||
|
||||
[ -f $HOME/.bashrc ] && . $HOME/.bashrc
|
||||
|
||||
# PATH
|
||||
export 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
|
||||
|
||||
# if [[ "$(tty)" = "/dev/tty1" ]]; then
|
||||
# exec startx $HOME/.config/X11/xinitrc
|
||||
# fi
|
||||
|
@ -366,9 +366,6 @@ then
|
||||
"
|
||||
fi
|
||||
|
||||
# PATH
|
||||
export 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
|
||||
|
||||
# _________________
|
||||
# ___ |__ /__(_)_____ ________
|
||||
# __ /| |_ /__ /_ __ `/_ ___/
|
||||
@ -593,7 +590,10 @@ fi
|
||||
# git clone https://github.com/pyenv/pyenv-virtualenv.git $PYENV_ROOT/plugins/pyenv-virtualenv
|
||||
# git clone https://github.com/pyenv/pyenv-update.git $PYENV_ROOT/plugins/pyenv-update
|
||||
# fi
|
||||
# eval "$(pyenv init -)" >/dev/null
|
||||
# if shopt -q login_shell; then
|
||||
# eval "$(pyenv init --path)"
|
||||
# fi
|
||||
# eval "$(pyenv init -)"
|
||||
# eval "$(pyenv virtualenv-init -)"
|
||||
|
||||
# nodenv
|
||||
|
@ -33,7 +33,8 @@ end
|
||||
# git clone https://github.com/pyenv/pyenv-update.git $PYENV_ROOT/plugins/pyenv-update
|
||||
# git clone https://github.com/pyenv/pyenv-virtualenv.git $PYENV_ROOT/plugins/pyenv-virtualenv
|
||||
# end
|
||||
# pyenv init - | source >/dev/null
|
||||
# status is-login; and pyenv init --path | source
|
||||
# pyenv init - | source
|
||||
# pyenv virtualenv-init - | source
|
||||
|
||||
# nodenv
|
||||
|
@ -41,13 +41,13 @@ riverctl background-color #2e3440
|
||||
|
||||
# Inputs ───────────────────────────────────────────────────────────────────────
|
||||
|
||||
riverctl input 2:7:SynPS/2_Synaptics_TouchPad events disabled-on-external-mouse
|
||||
riverctl input 2:7:SynPS/2_Synaptics_TouchPad drag enabled
|
||||
riverctl input 2:7:SynPS/2_Synaptics_TouchPad disable-while-typing enabled
|
||||
riverctl input 2:7:SynPS/2_Synaptics_TouchPad natural-scroll enabled
|
||||
riverctl input 2:7:SynPS/2_Synaptics_TouchPad tap enabled
|
||||
riverctl input 2:7:SynPS/2_Synaptics_TouchPad tap-button-map left-right-middle
|
||||
riverctl input 2:7:SynPS/2_Synaptics_TouchPad scroll-method two-finger
|
||||
# riverctl input 2:7:SynPS/2_Synaptics_TouchPad events disabled-on-external-mouse
|
||||
# riverctl input 2:7:SynPS/2_Synaptics_TouchPad drag enabled
|
||||
# riverctl input 2:7:SynPS/2_Synaptics_TouchPad disable-while-typing enabled
|
||||
# riverctl input 2:7:SynPS/2_Synaptics_TouchPad natural-scroll enabled
|
||||
# riverctl input 2:7:SynPS/2_Synaptics_TouchPad tap enabled
|
||||
# riverctl input 2:7:SynPS/2_Synaptics_TouchPad tap-button-map left-right-middle
|
||||
# riverctl input 2:7:SynPS/2_Synaptics_TouchPad scroll-method two-finger
|
||||
|
||||
# Bindings ─────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
# 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
|
||||
|
@ -401,8 +401,3 @@ if [ -n "$XDG_SESSION_TYPE" ]; then
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# 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
|
||||
|
@ -61,7 +61,10 @@ fi
|
||||
# git clone https://github.com/pyenv/pyenv-virtualenv.git $PYENV_ROOT/plugins/pyenv-virtualenv
|
||||
# git clone https://github.com/pyenv/pyenv-update.git $PYENV_ROOT/plugins/pyenv-update
|
||||
# fi
|
||||
# eval "$(pyenv init -)" >/dev/null
|
||||
# if [[ -o login ]]; then
|
||||
# eval "$(pyenv init --path)"
|
||||
# fi
|
||||
# eval "$(pyenv init -)"
|
||||
# eval "$(pyenv virtualenv-init -)"
|
||||
|
||||
# nodenv
|
||||
|
Loading…
Reference in New Issue
Block a user