mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
Allow to pass any arguments to z
before: ``` $ z --help 12 /Users/Jean/Dropbox 12 /Users/Jean/work $ z work /Users/Jean/work ``` after: ``` z --help z [-chlrtx] args $ z work /Users/Jean/work ```
This commit is contained in:
parent
2efe65c483
commit
97ac414448
@ -1,3 +1,3 @@
|
||||
function z
|
||||
cd (bash -c 'source $Z_SCRIPT_PATH; _z $0; echo $PWD' $argv)
|
||||
cd (bash -c "source $Z_SCRIPT_PATH; _z $argv; echo \$PWD")
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user