mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Merge b72a37528c into 1120f97305
This commit is contained in:
commit
2eadb15ca7
4 changed files with 84 additions and 0 deletions
8
plugins/z/z.plugin.zsh
Normal file
8
plugins/z/z.plugin.zsh
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
if [ $( which brew ) ]; then
|
||||
if [ -f `brew --prefix`/etc/profile.d/z.sh ]; then
|
||||
. `brew --prefix`/etc/profile.d/z.sh
|
||||
function precmd () {
|
||||
z --add "$(pwd -P)"
|
||||
}
|
||||
fi
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue