diff options
Diffstat (limited to 'base')
-rwxr-xr-x | base/otp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |