2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2024-04-17 22:39:00 -04:00
|
|
|
config = lib.mkIf config.alyraffauf.apps.bash.enable {
|
2024-06-25 16:58:20 -04:00
|
|
|
programs = {
|
|
|
|
bash = {
|
|
|
|
enable = true;
|
|
|
|
enableCompletion = true;
|
|
|
|
enableVteIntegration = true;
|
|
|
|
shellOptions = [
|
|
|
|
"autocd"
|
|
|
|
"cdspell"
|
|
|
|
"checkjobs"
|
|
|
|
"checkwinsize"
|
|
|
|
"dirspell"
|
|
|
|
"dotglob"
|
|
|
|
"extglob"
|
|
|
|
"globstar"
|
|
|
|
"histappend"
|
|
|
|
];
|
|
|
|
initExtra = ''
|
|
|
|
export PS1="[\[$(tput setaf 27)\]\u\[$(tput setaf 135)\]@\[$(tput setaf 45)\]\h:\[$(tput setaf 33)\]\w] \[$(tput sgr0)\]$ "
|
|
|
|
'';
|
|
|
|
shellAliases = {
|
|
|
|
cat = lib.getExe pkgs.bat;
|
|
|
|
};
|
2024-06-19 15:34:11 -04:00
|
|
|
};
|
2024-06-25 20:46:13 -04:00
|
|
|
eza = {
|
|
|
|
enable = true;
|
|
|
|
extraOptions = ["--group-directories-first" "--header"];
|
|
|
|
git = true;
|
|
|
|
icons = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
fzf = {
|
|
|
|
enable = true;
|
|
|
|
tmux.enableShellIntegration = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
ripgrep.enable = true;
|
2024-03-28 19:52:15 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|