From c38929e6b11332119b290052994f95cdf01fda1a Mon Sep 17 00:00:00 2001 From: datsudo <76833632+datsudo@users.noreply.github.com> Date: Fri, 6 Jun 2025 20:47:57 +0800 Subject: [PATCH] reconfigure bash because nix shells uses this --- user/shells.nix | 6 ++++++ user/termtools.nix | 1 + 2 files changed, 7 insertions(+) diff --git a/user/shells.nix b/user/shells.nix index 3996a44..98bc844 100644 --- a/user/shells.nix +++ b/user/shells.nix @@ -54,6 +54,12 @@ in }; }; + programs.bash = { + enable = true; + historyIgnore = ["ls" "exit"]; + shellAliases = aliases; + }; + programs.zsh = { enable = cfg.zsh.enable; enableCompletion = true; diff --git a/user/termtools.nix b/user/termtools.nix index 9b912a0..9f5f59d 100644 --- a/user/termtools.nix +++ b/user/termtools.nix @@ -22,6 +22,7 @@ in programs.zoxide = { enable = cfg.zoxide.enable; enableZshIntegration = true; + enableBashIntegration = true; options = [ "--cmd cd" ]; }; };