mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-16 02:27:03 +01:00
Merge 62d6014d14 into cf03ee6d88
This commit is contained in:
commit
d0e49fb8cc
1 changed files with 6 additions and 0 deletions
6
plugins/z/z.plugin.zsh
Normal file
6
plugins/z/z.plugin.zsh
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
if [ -f `brew --prefix`/etc/profile.d/z.sh ]; then
|
||||||
|
. `brew --prefix`/etc/profile.d/z.sh
|
||||||
|
function precmd () {
|
||||||
|
z --add "$(pwd -P)"
|
||||||
|
}
|
||||||
|
fi
|
||||||
Loading…
Add table
Add a link
Reference in a new issue