This commit is contained in:
iofq 2024-08-10 02:17:24 -05:00
parent a897205c77
commit 0d9458d7cf
10 changed files with 112 additions and 110 deletions

View file

@ -10,6 +10,7 @@
home = {
packages = with pkgs; [
tree
eza
];
};
programs.bash = {
@ -21,11 +22,10 @@
"exit"
];
shellAliases = {
la = "ls -lahrt --color=auto";
la = "eza -lahrt";
ll = "la";
":q" = "exit";
mpv = "mpv --no-keepaspect-window";
sus = "systemctl suspend";
hms = "home-manager switch --flake $NIX_FLAKE#${host.username}";
rbs = "sudo nixos-rebuild switch --flake $NIX_FLAKE#${host.hostName}";
update = "nix flake update $NIX_FLAKE && rbs && hms";
@ -69,7 +69,7 @@
bind '"\C-k": previous-history'
bind '"\C-j": next-history'
function cd {
cmd="ls --color=auto"
cmd="eza"
builtin cd "$@" && $cmd
}
exists "kubectl" && source <(kubectl completion bash)