1
0
mirror of https://github.com/akelge/zsh synced 2025-07-04 05:29:06 +00:00

fix functions and plugins

This commit is contained in:
2021-10-28 10:37:14 +02:00
parent a98a44ba5d
commit 1dbe3a174b
3 changed files with 5 additions and 16 deletions

View File

@ -1,12 +1,12 @@
# pyenv
if type pyenv; then
if whence pyenv > /dev/null; then
export PYENV_ROOT="$HOME/.pyenv"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
fi
# thefuck
type thefuck && eval $(thefuck --alias)
whence thefuck > /dev/null && eval $(thefuck --alias)
#z
type ./plugins/zsh-z/zsh-z.plugin.zsh && source ./plugins/zsh-z/zsh-z.plugin.zsh
[ -f $LIBRARY/plugins/zsh-z/zsh-z.plugin.zsh ] && source $LIBRARY/plugins/zsh-z/zsh-z.plugin.zsh