feat: set up fish-foreign-env on home declaration

pull/1/head
anemofilia 2023-08-24 18:01:14 -03:00
parent 077b73f99c
commit 96d7183112
No known key found for this signature in database
GPG Key ID: 5A8F3D62C87A2B33
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,8 @@
(define-module (radix files fish) (define-module (radix files fish)
#:use-module (gnu) #:use-module (gnu)
#:use-module (gnu packages shells)
#:export (abbreviations #:export (abbreviations
fenv
greeting greeting
prompt prompt
variables)) variables))
@ -16,3 +18,7 @@
(define variables (define variables
(local-file "../../../files/fish/variables.fish")) (local-file "../../../files/fish/variables.fish"))
(define fenv
(file-append fish-foreign-env
"/share/fish/functions/fenv.fish"))

View File

@ -219,7 +219,8 @@
#|Shell services|# #|Shell services|#
(service home-fish-service-type (service home-fish-service-type
(home-fish-configuration (home-fish-configuration
(config (list file:fish-abbreviations)) (config (list file:fish-fenv
file:fish-abbreviations))
(aliases (aliases
`(#|Common aliases|# `(#|Common aliases|#
("df" . "df -h") ("df" . "df -h")