From ae8f432a759d42b03ade24f01ed7466869cbbf90 Mon Sep 17 00:00:00 2001 From: Tom Bereknyei Date: Fri, 7 Aug 2020 13:13:43 -0400 Subject: [PATCH] bash: initExtra after autojump config Allow for initExtra to manipulate results of autojump, e.g., remove aliases. PR #1431 --- modules/programs/bash.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix index 5758cbc11..45fe368bd 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 '';