rem.sh: disable on MINIMAL systems

also make systems MINIMAL by default (headless uses defaults)
This commit is contained in:
dogeystamp 2024-08-16 12:18:42 -04:00
parent 7edf70bca3
commit 0c3b222a3c
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 4 additions and 2 deletions

View File

@ -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 -}}

View File

@ -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