summaryrefslogtreecommitdiff
path: root/user/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'user/zsh/.zshrc')
-rw-r--r--user/zsh/.zshrc9
1 files changed, 3 insertions, 6 deletions
diff --git a/user/zsh/.zshrc b/user/zsh/.zshrc
index a579784..4285c99 100644
--- a/user/zsh/.zshrc
+++ b/user/zsh/.zshrc
@@ -62,10 +62,7 @@ autoload -Uz compinit
[ -d "$XDG_CACHE_HOME"/zsh ] || mkdir -p "$XDG_CACHE_HOME"/zsh
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-$ZSH_VERSION
-# Environment-specifics
-if [ -n "$MYNIX_DEV" ]; then
- source "$ZDOTDIR/zshrc-dev.sh"
-fi
-if [ -n "$MYNIX_GRAPHICAL" ]; then
- source "$ZDOTDIR/zshrc-graphical.sh"
+# Profile-specifics
+if [ "$MYNIX_PROFILE" = "workstation" ]; then
+ source "$ZDOTDIR/zshrc-workstation.sh"
fi