Created
January 21, 2020 04:59
-
-
Save namgivu/a73f9aafa292efd4ebaa03f2a58bc68e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias nonewlinepaste='history -s `xsel -b`; sleep 1; xdotool key Up 1>/dev/null' # xsel ref. https://unix.stackexchange.com/a/96398/17671 # xdotool ref. https://unix.stackexchange.com/questions/267704/command-to-simulate-keyboard-input#comment1038650_267705 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment