Add function for configuring user settings

This commit is contained in:
Manuel Thalmann 2024-07-20 03:50:38 +02:00
parent 675db97522
commit a89d9bb677
3 changed files with 26 additions and 2 deletions
scripts/Common/OS

View file

@ -1,7 +1,7 @@
#!/bin/env fish
set -l dir (status dirname)
source "$dir/../Scripts/config.fish"
set -l users (getConfig valhalla.users --apply "builtins.attrNames" --json)
set -l users (getUsers)
for name in (echo "$users" | jq '.[]' --raw-output0 | string split0)