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

jump:zle:12: widgets can only be called when ZLE is active #5

Open
albertfgu opened this issue Dec 7, 2022 · 2 comments
Open

jump:zle:12: widgets can only be called when ZLE is active #5

albertfgu opened this issue Dec 7, 2022 · 2 comments

Comments

@albertfgu
Copy link

I've been using this plugin for awhile and it works great, although I've had this issue for a long time and only now thought to file an Issue in case you have a solution. Everytime I jump, I get the message

jump:zle:12: widgets can only be called when ZLE is active

but it does jump to the right directory. Why does this warning appear and how can I suppress it?

@washonrails
Copy link

i got the same error.

@Kartanovicius
Copy link

I found a solution which works on nixos home-manager, but should work on other distro as well.
In Home-Manager:

programs.zsh.initExtra = ''
      bindkey '^g' jump
      zle -N jump
    '';

In other distro:
Add to file .zshrc

bindkey '^g' jump
zle -N jump

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

3 participants