Commit 2edb46c3 authored by Justin Hileman's avatar Justin Hileman

[split] Move z plugin to oh-my-fish/plugin-z

https://github.com/oh-my-fish/plugin-z
parent 7ead0cd5
function z
cd (bash -c "source $Z_SCRIPT_PATH; _z $argv; echo \$PWD")
end
if test -z "$Z_SCRIPT_PATH"
set -gx Z_SCRIPT_PATH /usr/local/etc/profile.d/z.sh
end
function __check_z --on-variable PWD --description 'Setup z on directory change'
status --is-command-substitution; and return
bash -c "source $Z_SCRIPT_PATH; _z --add `pwd -P`"
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment