Ask for profile if unspecified

This commit is contained in:
Manuel Thalmann 2024-09-30 14:57:03 +02:00
parent 69cbbf9834
commit 010c9190c7

View file

@ -3,6 +3,12 @@ function runSetup
set -l dir (status dirname)
source "$dir/../Scripts/config.fish"
source "$dir/../Scripts/hooks.fish"
if [ -z "$CONFIG_NAME" ]
selectProfile config
set -x CONFIG_NAME "$config"
end
set -l mountDir (getOSConfig partition.rootDir)
set -l projectRoot (realpath "$dir/../../..")
set -l projectName (basename "$projectRoot")