mirror of https://github.com/akelge/zsh
fix functions and plugins
This commit is contained in:
parent
a98a44ba5d
commit
1dbe3a174b
|
@ -3,3 +3,4 @@ zsh.d/Darwin/99-local.zsh
|
|||
*~
|
||||
*.swp
|
||||
.DS_Store
|
||||
*.dpkg-dist
|
||||
|
|
|
@ -3,16 +3,4 @@
|
|||
#
|
||||
# Autoload all functions in zshfunctions
|
||||
#
|
||||
autoload -U ./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 :
|
||||
autoload -U $LIBRARY/zshfunctions/*(.:t)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue