diff options
author | Martin Fischer <martin@push-f.com> | 2024-12-27 08:45:34 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2024-12-27 18:44:37 +0100 |
commit | 1b65ba7a838e422c9bf16ddcaf796a996fa51b6b (patch) | |
tree | d8ec8d965f955a7f9a5c2b5c98e8a430fb0e8b6f /user/zsh/.zshrc | |
parent | edda7ef46bf2ae7fde9511005b4e7d40648c7e24 (diff) |
refactor: introduce profiles
Diffstat (limited to 'user/zsh/.zshrc')
-rw-r--r-- | user/zsh/.zshrc | 9 |
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 |