so much organization

This commit is contained in:
mjallen18
2025-06-29 14:50:34 -05:00
parent ca155505be
commit 532c97cf00
58 changed files with 354 additions and 992 deletions

29
modules/home/shell.nix Normal file
View File

@@ -0,0 +1,29 @@
{ ... }:
let
defaultShellAliases = {
l = "ls -alh";
ducks = "du -cksh * | sort -hr | head -n 15";
};
in
{
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = defaultShellAliases;
oh-my-zsh = {
enable = true;
plugins = [ "git" ];
theme = "fishy";
};
# initContent = ''
# if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
# tmux attach-session -t default || tmux new-session -s default
# fi
# '';
};
}