Commit 97ac4144 authored by Jean Mertz's avatar Jean Mertz

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
```
parent 2efe65c4
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
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