2
0

Added the option "-selection clip" to the xclip command. This fixes

the bugg that the automatic copying to the clipboard accesible with
ctrl-V in applications like in e.g firefox is not working in OpenSUSE
41.1 and i suspect in other Linux distros as well.
This commit is contained in:
Emil Johansson 2016-10-20 22:33:11 +02:00
parent b050cc4994
commit ade5c274b1

View File

@ -5,7 +5,7 @@ mpw() {
if hash pbcopy 2>/dev/null; then
pbcopy
elif hash xclip 2>/dev/null; then
xclip
xclip -selection clip
else
cat; echo 2>/dev/null
return