home-environments: radio: Add fish abbreviations to manage guix configuration
parent
7f1046fe39
commit
faf6f32559
|
@ -9,8 +9,7 @@
|
||||||
#:recursive? #t))
|
#:recursive? #t))
|
||||||
|
|
||||||
(define custom-functions
|
(define custom-functions
|
||||||
(local-file
|
(local-file "../../../files/fish/functions/fish_custom_functions.fish"))
|
||||||
"../../../files/fish/functions/fish_custom_functions.fish"))
|
|
||||||
|
|
||||||
(define config
|
(define config
|
||||||
(local-file "../../../files/fish/conf.d"
|
(local-file "../../../files/fish/conf.d"
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#:export (user-dirs
|
#:export (user-dirs
|
||||||
extensions
|
extensions
|
||||||
channels
|
channels
|
||||||
|
config
|
||||||
quick-edit
|
quick-edit
|
||||||
bookmarks
|
bookmarks
|
||||||
guix
|
guix
|
||||||
|
@ -94,6 +95,21 @@
|
||||||
(expansion
|
(expansion
|
||||||
(fish-function "bang-star")))))
|
(fish-function "bang-star")))))
|
||||||
|
|
||||||
|
(define config
|
||||||
|
(let* ((radix '~/areas/code/scm/radix/)
|
||||||
|
(user (string->symbol (getlogin)))
|
||||||
|
(os (string->symbol (gethostname))))
|
||||||
|
(list (abbreviation
|
||||||
|
(name (at user))
|
||||||
|
(position 'anywhere)
|
||||||
|
(expansion
|
||||||
|
(format #f "~a/home-environments/~a" radix user)))
|
||||||
|
(abbreviation
|
||||||
|
(name (at os))
|
||||||
|
(position 'anywhere)
|
||||||
|
(expansion
|
||||||
|
(format #f "~a/operating-systems/~a" radix os))))))
|
||||||
|
|
||||||
(define guix
|
(define guix
|
||||||
(list (abbreviation
|
(list (abbreviation
|
||||||
(name '!dgen)
|
(name '!dgen)
|
||||||
|
|
Loading…
Reference in New Issue