From 99825bca3d59bd5c4c9577650eca946f75c91e0a Mon Sep 17 00:00:00 2001 From: anemofilia Date: Thu, 10 Aug 2023 09:10:35 -0300 Subject: [PATCH] fix: make channel use only the contents of the modules directory --- .guix-channel | 1 + files/fish/fish_abbreviations | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.guix-channel b/.guix-channel index c06519a..ab05660 100644 --- a/.guix-channel +++ b/.guix-channel @@ -1,3 +1,4 @@ (channel (version 0) + (directory "modules") (url "https://codeberg.org/anemofilia/radix")) diff --git a/files/fish/fish_abbreviations b/files/fish/fish_abbreviations index 1c3bacd..85ed7a7 100644 --- a/files/fish/fish_abbreviations +++ b/files/fish/fish_abbreviations @@ -1,9 +1,10 @@ abbr --add m 'yt-dlp --prefer-free-formats --extract-audio' abbr --add v 'yt-dlp --prefer-free-formats' -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 --position anywhere --set-cursor 'mpv "%"' +abbr --add zedit --set-cursor "zcat % | $EDITOR" +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 --position anywhere --set-cursor 'mpv "%"' set -l RADIX_REPO "$HOME/projects/guile/radix" abbr --add !system --position anywhere "doas guix system reconfigure /etc/config.scm"