From 96d7183112d15dc77c460eaf81b52883c961bf07 Mon Sep 17 00:00:00 2001 From: anemofilia Date: Thu, 24 Aug 2023 18:01:14 -0300 Subject: [PATCH] feat: set up fish-foreign-env on home declaration --- modules/radix/files/fish.scm | 6 ++++++ radio.scm | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/radix/files/fish.scm b/modules/radix/files/fish.scm index fead4bf..cb5ea92 100644 --- a/modules/radix/files/fish.scm +++ b/modules/radix/files/fish.scm @@ -1,6 +1,8 @@ (define-module (radix files fish) #:use-module (gnu) + #:use-module (gnu packages shells) #:export (abbreviations + fenv greeting prompt variables)) @@ -16,3 +18,7 @@ (define variables (local-file "../../../files/fish/variables.fish")) + +(define fenv + (file-append fish-foreign-env + "/share/fish/functions/fenv.fish")) diff --git a/radio.scm b/radio.scm index 1aaa95e..6656c5a 100644 --- a/radio.scm +++ b/radio.scm @@ -219,7 +219,8 @@ #|Shell services|# (service home-fish-service-type (home-fish-configuration - (config (list file:fish-abbreviations)) + (config (list file:fish-fenv + file:fish-abbreviations)) (aliases `(#|Common aliases|# ("df" . "df -h")