aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xvis-clipboard8
1 files changed, 6 insertions, 2 deletions
diff --git a/vis-clipboard b/vis-clipboard
index 3a51b12..0ceed70 100755
--- a/vis-clipboard
+++ b/vis-clipboard
@@ -19,10 +19,14 @@ vc_determine_command() {
return 0
fi
done
- elif type pbcopy >/dev/null 2>&1; then
+ fi
+
+ if type pbcopy >/dev/null 2>&1; then
echo 'mac'
return 0
- elif [ -c /dev/clipboard ]; then
+ fi
+
+ if [ -c /dev/clipboard ]; then
echo 'cygwin'
return 0
fi