fix functions and plugins

This commit is contained in:
Andrea Mistrali 2021-10-28 10:37:14 +02:00
parent a98a44ba5d
commit 1dbe3a174b
No known key found for this signature in database
GPG Key ID: 6FB0A77F6D5DA9B2
3 changed files with 5 additions and 16 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ zsh.d/Darwin/99-local.zsh
*~ *~
*.swp *.swp
.DS_Store .DS_Store
*.dpkg-dist

View File

@ -3,16 +3,4 @@
# #
# Autoload all functions in zshfunctions # Autoload all functions in zshfunctions
# #
autoload -U ./zshfunctions/*(.:t) autoload -U $LIBRARY/zshfunctions/*(.:t)
# # cdb - Goes to folder by complete path
# autoload -U cdb
# # bak - remove backup files
# autoload -U bak
# autoload -U x509
# autoload -U awsprofile
# vim: set ts=4 sw=4 tw=0 ft=zsh :

View File

@ -1,12 +1,12 @@
# pyenv # pyenv
if type pyenv; then if whence pyenv > /dev/null; then
export PYENV_ROOT="$HOME/.pyenv" export PYENV_ROOT="$HOME/.pyenv"
eval "$(pyenv init --path)" eval "$(pyenv init --path)"
eval "$(pyenv init -)" eval "$(pyenv init -)"
fi fi
# thefuck # thefuck
type thefuck && eval $(thefuck --alias) whence thefuck > /dev/null && eval $(thefuck --alias)
#z #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