Configure for current user if none is specified

This commit is contained in:
Manuel Thalmann 2024-07-20 14:06:25 +02:00
parent b7c3c13b27
commit 09aa735398

View file

@ -20,6 +20,10 @@ begin
source "$dir/config.fish"
set -l users (getUsers)
if not isConfigured || [ "$USER" != (getConfig "valhalla.setupUser.name") ]
runInstaller userConfig
end
for name in (echo "$users" | jq '.[]' --raw-output0 | string split0)
runInstaller userConfig "$name"
end