1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/shells/fish/etc_config.patch
Jakob Gillich ac7e923104 fish: add module to support it as default shell
* Patched fish to load /etc/fish/config.fish if it exists (by default,
  it only loads config relative to itself)
* Added fish-foreign-env package to parse the system environment

closes #5331
2015-12-26 06:25:23 +01:00

18 lines
423 B
Diff

commit 0ec07a7018bd69513b0bca6e2f22dbf8575a5b5e
Author: Jakob Gillich <jakob@gillich.me>
Date: Fri Dec 25 01:59:29 2015 +0100
load /etc/fish/config.fish if it exists
diff --git a/etc/config.fish b/etc/config.fish
index 0683f40..33f4da7 100644
--- a/etc/config.fish
+++ b/etc/config.fish
@@ -37,3 +37,6 @@ if status --is-login
end
end
+if test -f /etc/fish/config.fish
+ source /etc/fish/config.fish
+end