From 0c3b222a3cc5c5d20891e381d7f3b1c554fa9aeb Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Fri, 16 Aug 2024 12:18:42 -0400 Subject: [PATCH] rem.sh: disable on MINIMAL systems also make systems MINIMAL by default (headless uses defaults) --- src/.chezmoi.toml.tmpl | 2 +- src/dot_config/fish/config.fish | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/.chezmoi.toml.tmpl b/src/.chezmoi.toml.tmpl index 08bd125..535ceab 100644 --- a/src/.chezmoi.toml.tmpl +++ b/src/.chezmoi.toml.tmpl @@ -1,5 +1,5 @@ {{- $systemprofilechoices := list "DEFAULT" "SLIM" "MINIMAL" -}} -{{- $systemprofile := promptChoiceOnce . "systemprofile" "Select a system profile (use capital letter)" $systemprofilechoices "SLIM" -}} +{{- $systemprofile := promptChoiceOnce . "systemprofile" "Select a system profile (use capital letter)" $systemprofilechoices "MINIMAL" -}} [data] systemprofile = {{- $systemprofile | quote -}} diff --git a/src/dot_config/fish/config.fish b/src/dot_config/fish/config.fish index ccda861..b647ef2 100644 --- a/src/dot_config/fish/config.fish +++ b/src/dot_config/fish/config.fish @@ -6,7 +6,9 @@ end set fish_greeting "" if status --is-interactive - rem.sh show + if not test $SYSTEM_PROFILE = "MINIMAL" + rem.sh show + end source ~/.config/fish/aliases.fish # Enable Vi bindings