Configure for current user if none is specified

This commit is contained in:
Manuel Thalmann 2024-07-20 14:06:25 +02:00
parent 3d9eef9dc6
commit bd1c3caf95

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