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
```
pull/2/head
Jean Mertz 10 years ago
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…
Cancel
Save