diff options
-rwxr-xr-x | bin/common/ytclipo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/common/ytclipo b/bin/common/ytclipo index 6cb2fc6..6b47991 100755 --- a/bin/common/ytclipo +++ b/bin/common/ytclipo @@ -1,8 +1,8 @@ #!/bin/sh # argument ($1) -> clipboard -> stdin -test -z "${inp:=${1:-"$(xclip -sel c -o)"}}" \ - && inp="$(cat /dev/stdin)" +test -z "${inp:=${1:-"$(xclip -sel c -o)"}}" && + inp="$(cat /dev/stdin)" echo "inp: ${inp}" 1>&2 # take last link from clipboard |