mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2025-01-05 21:14:00 -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
31df79f925
commit
75636245a8
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
[ -f $HOME/.bashrc ] && . $HOME/.bashrc
|
[ -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
|
# if [[ "$(tty)" = "/dev/tty1" ]]; then
|
||||||
# exec startx $HOME/.config/X11/xinitrc
|
# exec startx $HOME/.config/X11/xinitrc
|
||||||
# fi
|
# fi
|
||||||
|
@ -366,9 +366,6 @@ then
|
|||||||
"
|
"
|
||||||
fi
|
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-virtualenv.git $PYENV_ROOT/plugins/pyenv-virtualenv
|
||||||
# git clone https://github.com/pyenv/pyenv-update.git $PYENV_ROOT/plugins/pyenv-update
|
# git clone https://github.com/pyenv/pyenv-update.git $PYENV_ROOT/plugins/pyenv-update
|
||||||
# fi
|
# fi
|
||||||
# eval "$(pyenv init -)" >/dev/null
|
# if shopt -q login_shell; then
|
||||||
|
# eval "$(pyenv init --path)"
|
||||||
|
# fi
|
||||||
|
# eval "$(pyenv init -)"
|
||||||
# eval "$(pyenv virtualenv-init -)"
|
# eval "$(pyenv virtualenv-init -)"
|
||||||
|
|
||||||
# nodenv
|
# 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-update.git $PYENV_ROOT/plugins/pyenv-update
|
||||||
# git clone https://github.com/pyenv/pyenv-virtualenv.git $PYENV_ROOT/plugins/pyenv-virtualenv
|
# git clone https://github.com/pyenv/pyenv-virtualenv.git $PYENV_ROOT/plugins/pyenv-virtualenv
|
||||||
# end
|
# end
|
||||||
# pyenv init - | source >/dev/null
|
# status is-login; and pyenv init --path | source
|
||||||
|
# pyenv init - | source
|
||||||
# pyenv virtualenv-init - | source
|
# pyenv virtualenv-init - | source
|
||||||
|
|
||||||
# nodenv
|
# nodenv
|
||||||
|
@ -41,13 +41,13 @@ riverctl background-color #2e3440
|
|||||||
|
|
||||||
# Inputs ───────────────────────────────────────────────────────────────────────
|
# Inputs ───────────────────────────────────────────────────────────────────────
|
||||||
|
|
||||||
riverctl input 2:7:SynPS/2_Synaptics_TouchPad events disabled-on-external-mouse
|
# 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 drag enabled
|
||||||
riverctl input 2:7:SynPS/2_Synaptics_TouchPad disable-while-typing 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 natural-scroll enabled
|
||||||
riverctl input 2:7:SynPS/2_Synaptics_TouchPad tap 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 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 scroll-method two-finger
|
||||||
|
|
||||||
# Bindings ─────────────────────────────────────────────────────────────────────
|
# 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
|
# if [[ "$(tty)" = "/dev/tty1" ]]; then
|
||||||
# exec startx $HOME/.config/X11/xinitrc
|
# exec startx $HOME/.config/X11/xinitrc
|
||||||
# fi
|
# fi
|
||||||
|
@ -401,8 +401,3 @@ if [ -n "$XDG_SESSION_TYPE" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
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-virtualenv.git $PYENV_ROOT/plugins/pyenv-virtualenv
|
||||||
# git clone https://github.com/pyenv/pyenv-update.git $PYENV_ROOT/plugins/pyenv-update
|
# git clone https://github.com/pyenv/pyenv-update.git $PYENV_ROOT/plugins/pyenv-update
|
||||||
# fi
|
# fi
|
||||||
# eval "$(pyenv init -)" >/dev/null
|
# if [[ -o login ]]; then
|
||||||
|
# eval "$(pyenv init --path)"
|
||||||
|
# fi
|
||||||
|
# eval "$(pyenv init -)"
|
||||||
# eval "$(pyenv virtualenv-init -)"
|
# eval "$(pyenv virtualenv-init -)"
|
||||||
|
|
||||||
# nodenv
|
# nodenv
|
||||||
|
Loading…
Reference in New Issue
Block a user