darwin rebuilding

This commit is contained in:
lsoriano-mcm
2025-08-07 12:01:20 -05:00
parent 12dbe7536f
commit b86646816b
12 changed files with 247 additions and 25 deletions
+33
View File
@@ -0,0 +1,33 @@
{
pkgs,
myConfig,
...
}: {
programs.zsh = {
enableCompletion = false;
syntaxHighlighting.enable = false;
# shellAliases = myConfig.general.Terminal.aliases;
history.size = 10000;
antidote = {
enable = true;
plugins = [
"MichaelAquilina/zsh-autoswitch-virtualenv"
"jeffreytse/zsh-vi-mode"
"zdharma-continuum/fast-syntax-highlighting kind:defer"
"zsh-users/zsh-autosuggestions kind:defer"
"zsh-users/zsh-history-substring-search kind:defer"
];
};
initContent = ''
# zsh-autocomplete
# bindkey -M menuselect '^M' .accept-line # run code when selected completion
autoload -Uz compinit
if [ "$(date +'%j')" != "$(stat -f '%Sm' -t '%j' ~/.zcompdump 2>/dev/null)" ]; then
compinit
else
compinit -C
fi
'';
};
}