home-manager/systems/common/bash.nix

17 lines
294 B
Nix

{...}: {
programs.bash = {
enable = true;
initExtra = ''
PS1='\[\033[1;32m\][\[\e]0;\u@\h: \w\a\]\w]\$\[\033[0m\] '
'';
shellAliases = {
code = "codium"; # Alias VSCode with VSCodium
ll = "ls -lh";
la = "ls -lah";
".." = "cd ..";
};
};
}