diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-01-05 17:06:21 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-01-05 17:06:21 +0100 |
commit | 929ae27da1dee45bdc2c86ebd6e9b00b0a5b07fb (patch) | |
tree | 77a69d6eee63d82678906cb27dd3779b16b0ee3c /config | |
parent | 0d10205772b2745356969176de6f52510527e5a6 (diff) |
add oclipp
Diffstat (limited to 'config')
-rw-r--r-- | config/essentials/shell/functions.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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"; } |