We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52da586 commit 69498e9Copy full SHA for 69498e9
report-bug.sh
@@ -23,12 +23,12 @@ clipboard() {
23
copy_cmd=clip
24
fi
25
# copy_cmd=clip
26
- elif which pbcopy >/dev/null 2>&1; then
+ elif command -v pbcopy >/dev/null 2>&1; then
27
copy_cmd="pbcopy"
28
- elif which xclip >/dev/null 2>&1; then
+ elif command -v xclip >/dev/null 2>&1; then
29
# copy_cmd="xclip -i -selection clipboard"
30
copy_cmd="xclip"
31
- elif which xsel >/dev/null 2>&1 ; then
+ elif command -v xsel >/dev/null 2>&1 ; then
32
local copy_cmd="xsel -b"
33
34
if [ -n "$copy_cmd" ] ;then
0 commit comments