Merge pull request 'omz update' (#52) from feautre/omz_update into main

Reviewed-on: #52
This commit was merged in pull request #52.
This commit is contained in:
2026-06-04 09:22:13 +02:00
+7 -4
View File
@@ -8,12 +8,14 @@
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
# theme will be set below # add git and agents as plugins
theme = "";
plugins = [ "git" "ssh-agent" "gpg-agent" ]; plugins = [ "git" "ssh-agent" "gpg-agent" ];
}; # everything here lands before `source $ZSH/oh-my-zsh.sh`
extraConfig = ''
# make omz faster on large repositories
DISABLE_UNTRACKED_FILES_DIRTY=true
# only display a fancy theme when glyphs are rendered # only display a fancy theme when glyphs are rendered
initContent = lib.mkOrder 550 ''
if [[ "$TERM" == "linux" || "$TERM" == "screen" ]]; then if [[ "$TERM" == "linux" || "$TERM" == "screen" ]]; then
ZSH_THEME="gentoo" ZSH_THEME="gentoo"
else else
@@ -21,6 +23,7 @@
fi fi
''; '';
}; };
};
# set important env vars # set important env vars
home.sessionVariables = { home.sessionVariables = {