omz update #52

Merged
aaron merged 2 commits from feautre/omz_update into main 2026-06-04 09:22:13 +02:00
Showing only changes of commit 2edc62ff13 - Show all commits
+6 -6
View File
@@ -8,15 +8,14 @@
syntaxHighlighting.enable = true;
oh-my-zsh = {
enable = true;
# theme will be set below depending on the shell
theme = "";
# make omz faster on large repositories
custom = "DISABLE_UNTRACKED_FILES_DIRTY=true";
# add git and agents as plugins
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
initContent = lib.mkOrder 550 ''
if [[ "$TERM" == "linux" || "$TERM" == "screen" ]]; then
ZSH_THEME="gentoo"
else
@@ -24,6 +23,7 @@
fi
'';
};
};
# set important env vars
home.sessionVariables = {