oh-my-fish/plugins/z/z.load

6 lines
201 B
Fish
Raw Normal View History

2013-03-02 14:46:48 +08:00
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