Ask for profile if unspecified
This commit is contained in:
parent
69cbbf9834
commit
010c9190c7
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue