Flesh out bash config slightly

wip
Bo Jeanes 2024-07-17 14:18:02 +10:00
parent 359b626943
commit 9f5f8bd8e3
1 changed files with 6 additions and 2 deletions

View File

@ -227,7 +227,7 @@
# delta will show diffs with language-aware syntax highlighting # delta will show diffs with language-aware syntax highlighting
programs.git.delta.enable = true; programs.git.delta.enable = true;
programs.git.delta.package = pkgs.delta; programs.git.delta.package = pkgs.delta;
programs.bash.bashrcExtra = /* bash */ '' programs.bash.initExtra = /* bash */ ''
eval "$(${pkgs.delta}/bin/delta --generate-completion bash)" eval "$(${pkgs.delta}/bin/delta --generate-completion bash)"
''; '';
programs.zsh.initExtra = /* zsh */ '' programs.zsh.initExtra = /* zsh */ ''
@ -256,7 +256,11 @@
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
autosuggestion.enable = true; autosuggestion.enable = true;
}; };
programs.bash.enable = true; programs.bash = {
enable = true;
enableCompletion = true;
enableVteIntegration = true;
};
programs.starship.enable = true; programs.starship.enable = true;
programs.direnv.enable = true; programs.direnv.enable = true;