mirror of
https://github.com/akelge/zsh
synced 2025-07-06 22:29:06 +00:00
fix functions and plugins
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user