diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-22 16:21:36 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-22 16:21:36 +0200 |
commit | 9e1ef8c28f8781150158b3960a7e962abd22d68c (patch) | |
tree | 3e384dcad64b432b21107c497e0ec68fe7acd076 /config/essentials | |
parent | 9403d02f52334f8bb6976e3a307df5cfc3a62cc3 (diff) |
[functions] cleanup
Diffstat (limited to 'config/essentials')
-rw-r--r-- | config/essentials/zsh/functions.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
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("\<c-w>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"; } |