mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +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
|