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)
|
(define-module (radix files fish)
|
||||||
#:use-module (gnu)
|
#:use-module (gnu)
|
||||||
#:export (variables
|
#:export (abbreviations
|
||||||
functions-greeting
|
functions-greeting
|
||||||
functions-prompt))
|
functions-prompt
|
||||||
|
variables))
|
||||||
|
|
||||||
(define variables
|
(define abbreviations
|
||||||
(local-file "../../../files/fish/fish_variables"))
|
(local-file "../../../files/fish/fish_abbreviations"))
|
||||||
|
|
||||||
(define functions-greeting
|
(define functions-greeting
|
||||||
(local-file "../../../files/fish/functions/fish_greeting.fish"))
|
(local-file "../../../files/fish/functions/fish_greeting.fish"))
|
||||||
|
@ -13,3 +14,6 @@
|
||||||
(define functions-prompt
|
(define functions-prompt
|
||||||
(local-file "../../../files/fish/functions/fish_prompt.fish"))
|
(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|#
|
#|Shell services|#
|
||||||
(service home-fish-service-type
|
(service home-fish-service-type
|
||||||
(home-fish-configuration
|
(home-fish-configuration
|
||||||
(abbreviations
|
(config (list file:fish-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")))
|
|
||||||
|
|
||||||
(aliases
|
(aliases
|
||||||
`(#|Common aliases|#
|
`(#|Common aliases|#
|
||||||
("df" . "df -h")
|
("df" . "df -h")
|
||||||
|
|
Loading…
Reference in New Issue