Closed ilyagr closed 1 year ago
Thanks, this is a big patch, I will review later.
Sure, take your time! Anyone who wants to can try this out using this branch.
I added one more feature to z -b
in my fork, but I have some doubts if that one actually makes sense or is worth the complexity.
thanks
Thank you! :)
If
z -b foo bar
finds no exact match in the path to the current directory, it tries a "fuzzy" substitution with a frecent directory. For example, if we are in~/github/jekyll/test
and runz -b jek gh
, it will try to substitute the entirejekyll
path component withgh
. The result will be equivalent to runningz ~/github gh test
.The middle commit changes indentation, but is a no-op.
I've been using this for a bit. It seems nice.