zaneyos/modules/home/bash.nix
Don Williams 924bc240d9 Moved aliases and default for eza to eza.nix
On branch main
 Your branch is up to date with 'origin/main'.

 Changes to be committed:
	modified:   CHANGELOG.md
	modified:   modules/core/packages.nix
	modified:   modules/home/bash.nix
	modified:   modules/home/eza.nix
	modified:   modules/home/zsh/default.nix
2025-06-07 20:51:25 -05:00

22 lines
694 B
Nix

{profile, ...}: {
programs.bash = {
enable = false;
enableCompletion = true;
initExtra = ''
fastfetch
if [ -f $HOME/.bashrc-personal ]; then
source $HOME/.bashrc-personal
fi
'';
shellAliases = {
sv = "sudo nvim";
fr = "nh os switch --hostname ${profile}";
fu = "nh os switch --hostname ${profile} --update";
zu = "sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/releases/latest/download/install-zaneyos.sh)";
ncg = "nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
v = "nvim";
cat = "bat";
".." = "cd ..";
};
};
}