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:
Jean Mertz 2014-10-20 15:51:13 +02:00
parent 2efe65c483
commit 97ac414448

View File

@ -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