Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increment and decrement weights? #91

Open
roxlu opened this issue Sep 26, 2019 · 1 comment
Open

Increment and decrement weights? #91

roxlu opened this issue Sep 26, 2019 · 1 comment

Comments

@roxlu
Copy link

roxlu commented Sep 26, 2019

Thanks for this great util!

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

@vors
Copy link
Owner

vors commented Sep 26, 2019

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}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants