From 9e1ef8c28f8781150158b3960a7e962abd22d68c Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Fri, 22 Sep 2023 16:21:36 +0200 Subject: [functions] cleanup --- config/essentials/zsh/functions.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/essentials/zsh') diff --git a/config/essentials/zsh/functions.zsh b/config/essentials/zsh/functions.zsh index 22a8fbe..35aaf58 100644 --- a/config/essentials/zsh/functions.zsh +++ b/config/essentials/zsh/functions.zsh @@ -60,9 +60,9 @@ awnk() { awk "{print \$$1}"; } vimh() { vi -c "help $1" -c 'call feedkeys("\o")'; } dgo() { cd "$(goo d ~ | fzf --filter "$@" | head -n 1)"; } open() { $EDITOR "$(goo f ~ | fzf --filter "$@" | head -n 1)"; } -pkbs() { pkgfile -b "$1" | tee /dev/stderr | doas pacman -S -; } +pkbs() { doas pacman -Sy "$(pkgfile -b "$1" | tee /dev/stderr)"; } oclip() { printf "\033]52;c;$(echo -n "$@" | base64)\a"; } -sms() { ssh phone sendmsg "$1" "'$2'"; } +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