Add shellAliases, set backupFileExtension in ben.nix.

This commit is contained in:
Ben Corner 2024-05-28 22:17:40 -05:00
parent 32d68061a5
commit a8a66916f4

View File

@ -1,12 +1,20 @@
{ pkgs, inputs, config, makeEnable, ... }: { pkgs, inputs, config, makeEnable, ... }:
makeEnable config "modules.ben" true { makeEnable config "modules.ben" true {
home-manager.users.ben = { home-manager.users.ben = {
home-manager = {
backupFileExtension = "backup";
};
programs.zsh = { programs.zsh = {
enable = true; enable = true;
shellAliases = { shellAliases = {
ll = "ls -alF";
la = "ls -A";
l = "ls -CF"; l = "ls -CF";
la = "ls -A";
ll = "ls -lh";
lla = "ls -alh";
ls = "ls --color=auto";
gts = "git status";
gtl = "git log";
}; };
}; };
}; };