Skip to content

New option: -x #94

Merged
merged 1 commit into from May 17, 2013

2 participants

@baskerville

Removes the current directory from the data file.

Use case: sometimes z tmp lead me to /tmp whereas I was expecting to
be in ~/tmp, with the new option I can do z -x tmp: it removes
/tmp from the data file and jumps to ~/tmp.

@baskerville baskerville New option: -x
Removes the current directory from the data file.

Use case: sometimes `z tmp` lead me to `/tmp` whereas I was expecting to
be in `~/tmp`, with the new option I can do `z -x tmp`: it removes
`/tmp` from the data file and jumps to `~/tmp`.
b9afd5f
@rupa rupa merged commit 29dd032 into rupa:master May 17, 2013
@rupa
Owner
rupa commented May 17, 2013

Thanks ... not super thrilled adding a sed dependency but would take significantly more code without it.

@baskerville baskerville deleted the unknown repository branch May 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.