summary refs log tree commit diff
path: root/pkgs/shells/fish/etc_config.patch
blob: c48e734cc905b2ef2e74a755cdd23d2464362c07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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