mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-03 14:53:41 +08:00
6 lines
201 B
Fish
6 lines
201 B
Fish
|
function __check_z --on-variable PWD --description 'Setup z on directory change'
|
||
|
status --is-command-substitution; and return
|
||
|
|
||
|
bash -c "source /usr/local/etc/profile.d/z.sh; _z --add `pwd -P`"
|
||
|
end
|