From bc5c580052aa702978560d48f8e116b96772ed60 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 20 Jul 2022 17:41:27 +0800 Subject: [PATCH] users/foo-dogsquared: update Bash config Since I'm confident with using Wezterm at this point, let's go with this, man... --- users/home-manager/foo-dogsquared/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/users/home-manager/foo-dogsquared/default.nix b/users/home-manager/foo-dogsquared/default.nix index c883687f..4c71bfbd 100644 --- a/users/home-manager/foo-dogsquared/default.nix +++ b/users/home-manager/foo-dogsquared/default.nix @@ -32,8 +32,17 @@ in { ]; fonts.fontconfig.enable = true; + + # We're disabling it since the default Atuin integration is + # blocking the Wezterm's shell integration by fetching another + # instance of bash-preexec. + programs.atuin.enableBashIntegration = false; programs.bash.bashrcExtra = '' source ${pkgs.wezterm}/etc/profile.d/wezterm.sh + + if [[ :$SHELLOPTS: =~ :(vi|emacs): ]]; then + eval "$(${config.programs.atuin.package}/bin/atuin init bash)" + fi ''; # My specific usual stuff.