bash: set options

This commit is contained in:
Aly Raffauf 2024-03-29 08:49:48 -04:00
parent 41a6e55ba3
commit 3dbe0eb154

View file

@ -6,6 +6,18 @@
programs.bash = { programs.bash = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
enableVteIntegration = true;
shellOptions = [
"autocd"
"cdspell"
"checkjobs"
"checkwinsize"
"dirspell"
"dotglob"
"extglob"
"globstar"
"histappend"
];
initExtra = '' initExtra = ''
export PS1="[\[$(tput setaf 27)\]\u\[$(tput setaf 135)\]@\[$(tput setaf 45)\]\h:\[$(tput setaf 33)\]\w] \[$(tput sgr0)\]$ " export PS1="[\[$(tput setaf 27)\]\u\[$(tput setaf 135)\]@\[$(tput setaf 45)\]\h:\[$(tput setaf 33)\]\w] \[$(tput sgr0)\]$ "
''; '';