summaryrefslogtreecommitdiff
path: root/config/essentials/shell
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-01-05 17:06:21 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-01-05 17:06:21 +0100
commit929ae27da1dee45bdc2c86ebd6e9b00b0a5b07fb (patch)
tree77a69d6eee63d82678906cb27dd3779b16b0ee3c /config/essentials/shell
parent0d10205772b2745356969176de6f52510527e5a6 (diff)
add oclipp
Diffstat (limited to 'config/essentials/shell')
-rw-r--r--config/essentials/shell/functions.sh1
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"; }