mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Added a z plugin https://github.com/rupa/z
This commit is contained in:
parent
9f46eafae0
commit
62d6014d14
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