diff options
Diffstat (limited to '')
-rwxr-xr-x | src/password-store.sh | 2 | ||||
-rw-r--r-- | src/platform/cygwin.sh | 2 | ||||
-rw-r--r-- | src/platform/darwin.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/password-store.sh b/src/password-store.sh index 3f25185..ccc22ea 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -173,7 +173,7 @@ clip() { qdbus org.kde.klipper /klipper org.kde.klipper.klipper.clearClipboardHistory &>/dev/null echo "$before" | base64 -d | xclip -selection "$X_SELECTION" - ) 2>/dev/null & disown + ) >/dev/null 2>&1 & disown echo "Copied $2 to clipboard. Will clear in $CLIP_TIME seconds." } diff --git a/src/platform/cygwin.sh b/src/platform/cygwin.sh index 6e5dd86..737e367 100644 --- a/src/platform/cygwin.sh +++ b/src/platform/cygwin.sh @@ -11,7 +11,7 @@ clip() { local now="$(base64 < /dev/clipboard)" [[ $now != $(echo -n "$1" | base64) ]] && before="$now" echo "$before" | base64 -d > /dev/clipboard - ) 2>/dev/null & disown + ) >/dev/null 2>&1 & disown echo "Copied $2 to clipboard. Will clear in $CLIP_TIME seconds." } diff --git a/src/platform/darwin.sh b/src/platform/darwin.sh index 86eb325..a4f3515 100644 --- a/src/platform/darwin.sh +++ b/src/platform/darwin.sh @@ -11,7 +11,7 @@ clip() { local now="$(pbpaste | openssl base64)" [[ $now != $(echo -n "$1" | openssl base64) ]] && before="$now" echo "$before" | openssl base64 -d | pbcopy - ) 2>/dev/null & disown + ) >/dev/null 2>&1 & disown echo "Copied $2 to clipboard. Will clear in $CLIP_TIME seconds." } |