Compare commits
3 Commits
5ab603b726
...
7f58c16441
| Author | SHA1 | Date | |
|---|---|---|---|
| 7f58c16441 | |||
|
2edc62ff13
|
|||
|
27fb719555
|
@@ -8,12 +8,14 @@
|
||||
syntaxHighlighting.enable = true;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
# theme will be set below
|
||||
theme = "";
|
||||
# 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
|
||||
@@ -21,6 +23,7 @@
|
||||
fi
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
# set important env vars
|
||||
home.sessionVariables = {
|
||||
|
||||
Reference in New Issue
Block a user