1
0
Fork 0
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:
Luna 2023-04-15 02:14:43 +02:00
parent 2dc6c34ae1
commit cf8e484853
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,6 @@
if iscmd pyenv; then
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
fi

View file

@ -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