vors / ZLocation

ZLocation is the new Jump-Location
MIT License
567 stars 29 forks source link

Increment and decrement weights? #91

Open roxlu opened 5 years ago

roxlu commented 5 years ago

Thanks for this great util!

Is it possible to increment and decrement the weights like with autojump -i and -d somehow?

vors commented 5 years ago

Yes! It's a little bit hacky (call private method inside of a module, but that works)

# adds -100 to the path /foo/bar
& (Get-Module ZLocation) { Add-ZWeight /foo/bar -100}