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

xclip -in keeps running after zsh exits and never dies unless killed manually #46

Open
cronyakatsuki opened this issue Nov 15, 2022 · 4 comments

Comments

@cronyakatsuki
Copy link
Contributor

After doing any action in zsh vi mode like copy, paste it makes it so that when running exit zsh just hangs there and won't exit until killed.

Using xclip if it matters.

@doronbehar
Copy link
Collaborator

I too noticed the command xclip -sel CLIPBOARD -in hangs when the process exits. It seems like an issue with xclip.. I'd switch to xsel, or wayland if I could.

@doronbehar doronbehar changed the title Makes zsh hand when exiting. xclip -in keeps running after zsh exits and never dies unless killed manually Nov 18, 2022
@cronyakatsuki
Copy link
Contributor Author

I have xclip and xsel installed at the machine at the same time, because of dependencies of some of my program.

Maybe make it so that xsel is prioritized over xclip if they are both found to be installed at the same time?

For now I will just use ZSH_SYSTEM_CLIPBOARD_METHOD=xsc to bypass the issue.

@cronyakatsuki
Copy link
Contributor Author

Should we close the issue now and have a mention that if zsh hangs users should install xsel in the readme now?

@doronbehar
Copy link
Collaborator

Should we close the issue now and have a mention that if zsh hangs users should install xsel in the readme now?

I'd appreciate a PR to the README linking to this issue, but I wouldn't close this issue.

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