aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTom Bereknyei <tom@rebelliondefense.com>2020-08-07 13:13:43 -0400
committerRobert Helgesson <robert@rycee.net>2020-08-12 23:21:57 +0200
commitae8f432a759d42b03ade24f01ed7466869cbbf90 (patch)
treecca67a76f9eae167e6b73f4a62542fe5b1b79ec4 /modules
parente1fbb74b41e773bf81f8095710980bb99518e841 (diff)
bash: initExtra after autojump config
Allow for initExtra to manipulate results of autojump, e.g., remove aliases. PR #1431
Diffstat (limited to 'modules')
-rw-r--r--modules/programs/bash.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix
index 5758cbc1195..45fe368bddc 100644
--- a/modules/programs/bash.nix
+++ b/modules/programs/bash.nix
@@ -176,10 +176,10 @@ in
${aliasesStr}
- ${cfg.initExtra}
-
${optionalString cfg.enableAutojump
". ${pkgs.autojump}/share/autojump/autojump.bash"}
+
+ ${cfg.initExtra}
fi
'';