mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
users/foo-dogsquared: update Bash config
Since I'm confident with using Wezterm at this point, let's go with this, man...
This commit is contained in:
parent
bd84463d42
commit
bc5c580052
@ -32,8 +32,17 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
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 = ''
|
programs.bash.bashrcExtra = ''
|
||||||
source ${pkgs.wezterm}/etc/profile.d/wezterm.sh
|
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.
|
# My specific usual stuff.
|
||||||
|
Loading…
Reference in New Issue
Block a user