Force json output appropriately
This commit is contained in:
parent
e932bef303
commit
05c3dd174c
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ begin
|
|||
function userConfig -V dir -a name
|
||||
source "$dir/../../Scripts/config.fish"
|
||||
set -l key "valhalla.users.$name.rclone.configurations"
|
||||
set -l configs (getConfig "$key" --apply "builtins.attrNames")
|
||||
set -l configs (getConfig "$key" --apply "builtins.attrNames" --json)
|
||||
|
||||
if [ (echo "$configs" | jq "length") -gt 0 ]
|
||||
if [ "$XDG_SESSION_TYPE" = "tty" ]
|
||||
|
|
Loading…
Reference in a new issue