From 9806bdc1a7a70dd9f89c642fb925f4171f2be481 Mon Sep 17 00:00:00 2001 From: anemofilia Date: Tue, 8 Aug 2023 19:25:46 -0300 Subject: [PATCH] feat: add new abbreviations to fish --- files/fish/fish_abbreviations | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/files/fish/fish_abbreviations b/files/fish/fish_abbreviations index 3beb25d..8f8e35c 100644 --- a/files/fish/fish_abbreviations +++ b/files/fish/fish_abbreviations @@ -1,8 +1,10 @@ abbr --add m 'yt-dlp --prefer-free-formats --extract-audio' abbr --add v 'yt-dlp --prefer-free-formats' -abbr --add mpv --position anywhere --set-cursor=! 'mpv "!"' -# Radix related abbreviations +abbr --add tf --set-cursor 'setsid -f % >/dev/null 2>&1 & disown' +abbr --add zxz --set-cursor 'curl -F "file=@%" https://0.vern.cc | xsel -b' +abbr --add mpv --set-cursor 'mpv "%"' --position anywhere + set -l RADIX_REPO "$HOME/projects/guile/radix" abbr --add !system --position anywhere "doas guix system reconfigure /etc/config.scm" abbr --add !home --position anywhere "guix home reconfigure $RADIX_REPO/radio.scm"