From df589b1915a68c55721f674b8b97bbd7f23537a0 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 24 Jun 2023 10:27:13 +0800 Subject: [PATCH] users/foo-dogsquared: update Bash config Also, the Wezterm shell integration is now fixed. Hoorah! --- users/home-manager/foo-dogsquared/default.nix | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/users/home-manager/foo-dogsquared/default.nix b/users/home-manager/foo-dogsquared/default.nix index 260396fb..cb738c07 100644 --- a/users/home-manager/foo-dogsquared/default.nix +++ b/users/home-manager/foo-dogsquared/default.nix @@ -29,24 +29,14 @@ in # blocking the Wezterm's shell integration by fetching another # instance of bash-preexec. programs.atuin = { - enableBashIntegration = false; settings = { auto_sync = true; sync_address = "http://atuin.plover.foodogsquared.one"; sync_frequency = "10m"; }; }; - 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 - ''; - - sessionVariables.PATH = "${config.home.mutableFile."library/dotfiles".path}/bin\${PATH:+:$PATH}"; - }; + programs.bash.sessionVariables.PATH = "${config.home.mutableFile."library/dotfiles".path}/bin\${PATH:+:$PATH}"; # My SSH client configuration. It is encouraged to keep matches and extra # configurations included in a separate `config.d/` directory. This enables