From 1b65ba7a838e422c9bf16ddcaf796a996fa51b6b Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 27 Dec 2024 08:45:34 +0100 Subject: refactor: introduce profiles --- user/zsh/.zshrc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'user/zsh/.zshrc') 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 -- cgit v1.2.3