nix/home-manager/bash/default.nix

22 lines
430 B
Nix
Raw Normal View History

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
};
profileExtra = ''
2022-12-06 23:27:25 +00:00
SHELL="$BASH"
2024-06-10 11:24:38 +00:00
PATH=~/.bin:$PATH
2024-07-25 16:29:25 +00:00
eval "$(thefuck --alias)"
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"
2025-01-09 17:46:41 +00:00
fastfetch
2022-11-25 16:30:22 +00:00
'';
};
}