File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -132,14 +132,14 @@ clipboard_copy_command() {
132
132
fi
133
133
elif command_exists " clip.exe" ; then # WSL clipboard command
134
134
echo " clip.exe"
135
- elif command_exists " xclip" ; then
136
- local xclip_selection
137
- xclip_selection=" $( yank_selection) "
138
- echo " xclip -selection $xclip_selection "
139
135
elif command_exists " xsel" ; then
140
136
local xsel_selection
141
137
xsel_selection=" $( yank_selection) "
142
138
echo " xsel -i --$xsel_selection "
139
+ elif command_exists " xclip" ; then
140
+ local xclip_selection
141
+ xclip_selection=" $( yank_selection) "
142
+ echo " xclip -selection $xclip_selection "
143
143
elif command_exists " putclip" ; then # cygwin clipboard command
144
144
echo " putclip"
145
145
elif [ -n " $( custom_copy_command) " ]; then
You can’t perform that action at this time.
0 commit comments