2022-11-25 16:30:22 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.bash = {
|
|
|
|
enable = true;
|
2022-11-30 19:12:27 +00:00
|
|
|
shellAliases = {
|
|
|
|
grep = "grep --color";
|
2023-04-25 13:36:54 +00:00
|
|
|
ssh = "TERM=xterm-256color ssh";
|
2024-04-16 00:16:23 +00:00
|
|
|
flush_dns = "sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder";
|
2022-11-30 19:12:27 +00:00
|
|
|
};
|
2022-12-03 03:31:37 +00:00
|
|
|
profileExtra = ''
|
2022-12-06 23:27:25 +00:00
|
|
|
SHELL="$BASH"
|
2022-11-25 16:30:22 +00:00
|
|
|
set -o vi
|
2022-12-04 19:32:16 +00:00
|
|
|
bind "set show-mode-in-prompt on"
|
2022-11-25 16:30:22 +00:00
|
|
|
neofetch
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|