You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
201 B
Fish
6 lines
201 B
Fish
12 years ago
|
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
|