From 929ae27da1dee45bdc2c86ebd6e9b00b0a5b07fb Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Fri, 5 Jan 2024 17:06:21 +0100 Subject: add oclipp --- config/essentials/shell/functions.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'config') diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh index b699a86..d303fb8 100644 --- a/config/essentials/shell/functions.sh +++ b/config/essentials/shell/functions.sh @@ -63,6 +63,7 @@ dgo() { cd "$(goo d ~ | fzf --filter "$@" | head -n 1)"; } open() { $EDITOR "$(goo f ~ | fzf --filter "$@" | head -n 1)"; } pkbs() { doas pacman -Sy "$(pkgfile -b "$1" | tee /dev/stderr)"; } oclip() { printf "\033]52;c;$(printf '%s' "$@" | base64)\a"; } +oclipp() { printf "]52;c$(cat | base64)"; } sms() { ssh -t phone sendmsg "$1" "'$2'"; } trcp() { scp "$1" db:/media/basilisk/downloads/transmission/torrents/; } rln() { ln -s "$(readlink -f "$1")" "$2"; } -- cgit v1.2.3