about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2013-10-11 11:55:58 +0200
committerDomen Kožar <domen@dev.si>2013-10-11 11:55:58 +0200
commitcf3e36a3b947f5053fa23197d145ecd5ecc4c89d (patch)
treebdc5032bd2d6fe764c6346076d9a2e62044ccfa9 /nixos/modules/programs
parent29b99ed9fa6c50ac7bef28ac41f8c82a1762ee8b (diff)
downloadnixlib-cf3e36a3b947f5053fa23197d145ecd5ecc4c89d.tar
nixlib-cf3e36a3b947f5053fa23197d145ecd5ecc4c89d.tar.gz
nixlib-cf3e36a3b947f5053fa23197d145ecd5ecc4c89d.tar.bz2
nixlib-cf3e36a3b947f5053fa23197d145ecd5ecc4c89d.tar.lz
nixlib-cf3e36a3b947f5053fa23197d145ecd5ecc4c89d.tar.xz
nixlib-cf3e36a3b947f5053fa23197d145ecd5ecc4c89d.tar.zst
nixlib-cf3e36a3b947f5053fa23197d145ecd5ecc4c89d.zip
bash: place interactiveShellInit at the end to be able to override existing settings
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/bash/bash.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/programs/bash/bash.nix b/nixos/modules/programs/bash/bash.nix
index 8cfe3f990adc..9d33e26c4959 100644
--- a/nixos/modules/programs/bash/bash.nix
+++ b/nixos/modules/programs/bash/bash.nix
@@ -127,8 +127,6 @@ in
       loginShellInit = cfge.loginShellInit;
 
       interactiveShellInit = ''
-        ${cfge.interactiveShellInit}
-
         # Check the window size after every command.
         shopt -s checkwinsize
 
@@ -138,6 +136,8 @@ in
         ${cfg.promptInit}
         ${bashCompletion}
         ${bashAliases}
+
+        ${cfge.interactiveShellInit}
       '';
 
     };