mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
8 lines
180 B
Bash
8 lines
180 B
Bash
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
|