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

Fix a bug causeing `gist -c` fails for xsel users. #151

Merged
merged 1 commit into from Nov 3, 2013

Conversation

Projects
None yet
2 participants
@weakish
Copy link
Contributor

weakish commented Oct 31, 2013

Unlike xclip, calling xsel without any argument outputs the selection.
In other words, xclip defaults to xclip -i, but xseldefaults toxsel -o`.

Thus we should use xsel -i instead of xsel for copying the url to clipboard.

Fix a bug causeing `gist -c` fails for xsel users.
Unlike `xclip`, calling `xsel` without any argument outputs the
selection.
In other words, `xclip` defaults to `xclip -i`,
but xsel` defaults to `xsel -o`.

Thus we should use `xsel -i` instead of `xsel` for copying the url
to clipboard.

@ConradIrwin ConradIrwin merged commit cbf90e1 into defunkt:master Nov 3, 2013

@ConradIrwin

This comment has been minimized.

Copy link
Collaborator

ConradIrwin commented Nov 3, 2013

Thanks! released in v4.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment