aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorAlexis Hovorka <[email protected]>2021-03-18 12:09:35 -0600
committerAlexis Hovorka <[email protected]>2021-03-18 12:09:35 -0600
commit876b5516cd8e085c6befb6feb1eafefb36c008d6 (patch)
tree9cbeba52c1e326117677f703ac1d11a8fb2db076 /base
parentabb36adf627380755081173aedbb7f3c0a0a9cb5 (diff)
[fix] Make otp -c less noisy on termux for realsies
Diffstat (limited to 'base')
-rwxr-xr-xbase/otp4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/otp b/base/otp
index d6ef59e..14851cb 100755
--- a/base/otp
+++ b/base/otp
@@ -40,13 +40,13 @@ X_SELECTION="${PASSWORD_STORE_X_SELECTION:-clipboard}"
getclip() {
[[ -n "$CLIP" ]] || return 0
- if command -v termux-clipboard-get; then termux-clipboard-get &>/dev/null
+ if command termux-clipboard-get; then termux-clipboard-get
else xclip -o -selection "$X_SELECTION"; fi
}
setclip() {
[[ -n "$CLIP" ]] || return 0
- if command -v termux-clipboard-set; then termux-clipboard-set &>/dev/null
+ if command termux-clipboard-set; then termux-clipboard-set
else xclip -selection "$X_SELECTION"; fi
}