mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-18 16:26:50 +00:00
fix a little script loading
This commit is contained in:
parent
2dc6c34ae1
commit
cf8e484853
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,6 @@
|
|||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
if iscmd pyenv; then
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
fi
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
export RTX_SHELL=zsh
|
||||
|
||||
if iscmd rtx; then
|
||||
|
||||
rtx() {
|
||||
local command
|
||||
command="${1:-}"
|
||||
|
@ -32,3 +34,4 @@ typeset -ag chpwd_functions;
|
|||
if [[ -z "${chpwd_functions[(r)_rtx_hook]+1}" ]]; then
|
||||
chpwd_functions=( _rtx_hook ${chpwd_functions[@]} )
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue