fix: move abbreviations to file:fish-abbreviations
parent
72f3b19067
commit
4551974b12
|
@ -1 +1 @@
|
|||
/gnu/store/j38f52xh3npi5kk33k9j6nwkki5p8ds8-fish-config.fish
|
||||
/gnu/store/6w8x3w0kr8gkp9kcsbyvjzdvigclay40-fish-config.fish
|
|
@ -1,11 +1,12 @@
|
|||
(define-module (radix files fish)
|
||||
#:use-module (gnu)
|
||||
#:export (variables
|
||||
#:export (abbreviations
|
||||
functions-greeting
|
||||
functions-prompt))
|
||||
functions-prompt
|
||||
variables))
|
||||
|
||||
(define variables
|
||||
(local-file "../../../files/fish/fish_variables"))
|
||||
(define abbreviations
|
||||
(local-file "../../../files/fish/fish_abbreviations"))
|
||||
|
||||
(define functions-greeting
|
||||
(local-file "../../../files/fish/functions/fish_greeting.fish"))
|
||||
|
@ -13,3 +14,6 @@
|
|||
(define functions-prompt
|
||||
(local-file "../../../files/fish/functions/fish_prompt.fish"))
|
||||
|
||||
(define variables
|
||||
(local-file "../../../files/fish/fish_variables"))
|
||||
|
||||
|
|
24
radio.scm
24
radio.scm
|
@ -202,29 +202,7 @@
|
|||
#|Shell services|#
|
||||
(service home-fish-service-type
|
||||
(home-fish-configuration
|
||||
(abbreviations
|
||||
`(#|Download music and videos with based formats|#
|
||||
("m" . "yt-dlp --prefer-free-formats --extract-audio")
|
||||
("v" . "yt-dlp --prefer-free-formats")
|
||||
|
||||
#|Guix related abbreviations|#
|
||||
("!config --position anywhere" .
|
||||
"guix system reconfigure /etc/config.scm")
|
||||
("!home --position anywhere" .
|
||||
"guix home reconfigure $HOME/projects/guile/radix/radio.scm")
|
||||
(":config --position anywhere" .
|
||||
"$EDITOR /etc/config.scm")
|
||||
(":home --position anywhere" .
|
||||
"$EDITOR $HOME/projects/guile/radix/radio.scm")
|
||||
("@radix --position anywhere" .
|
||||
"$HOME/projects/guile/radix")
|
||||
("@system --position anywhere" .
|
||||
"$HOME/projects/guile/radix/modules/radix/services")
|
||||
("@home --position anywhere" .
|
||||
"$HOME/projects/guile/radix/modules/radix/home/services")
|
||||
("@files --position anywhere" .
|
||||
"$HOME/projects/guile/radix/files")))
|
||||
|
||||
(config (list file:fish-abbreviations))
|
||||
(aliases
|
||||
`(#|Common aliases|#
|
||||
("df" . "df -h")
|
||||
|
|
Loading…
Reference in New Issue