From 7ea48b3dc8ca9b9c2f6d9863a3b322f4a60747ea Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sun, 28 Nov 2021 21:45:15 -0500 Subject: [PATCH] ksh: uclip: use xsel instead of xclip --- .kshrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.kshrc b/.kshrc index ad59982..8d6892c 100644 --- a/.kshrc +++ b/.kshrc @@ -16,8 +16,7 @@ ufile() { ext=$(printf "%s" "$1" | awk -F . '{print $NF}') fname="$(basename ${2:-tmp$RANDOM.$ext})" rsync "$1" "l.armaanb.net:/var/www/htdocs/l.armaanb.net/$fname" - printf "https://l.armaanb.net/%s\n" "$fname" | xclip && \ - xclip -o + printf "https://l.armaanb.net/%s\n" "$fname" | xsel -sel c } export GPG_TTY="$(tty)" -- 2.39.2