mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Moving all autoenv logic to the plugin file.
-Some of this was previously located in the directories lib. -Also unsetting the cd override function created by autoenv and replacing it with a zsh hook.
This commit is contained in:
parent
580bf9bb24
commit
e34c6f9fe1
2 changed files with 8 additions and 3 deletions
|
|
@ -30,9 +30,6 @@ cd () {
|
|||
cd ../../../..
|
||||
elif [[ "x$*" == "x......" ]]; then
|
||||
cd ../../../../..
|
||||
elif [ -d ~/.autoenv ]; then
|
||||
source ~/.autoenv/activate.sh
|
||||
autoenv_cd "$@"
|
||||
else
|
||||
builtin cd "$@"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue