Fix use of incorrect config keys

This commit is contained in:
Manuel Thalmann 2024-07-20 01:38:53 +02:00
parent ffa8c19358
commit e8a752eb4c

View file

@ -74,8 +74,8 @@ begin
end
begin # Aliases
set -l key git.aliases
set -l aliases (getConfig "$root.$key" --json)
set -l key "$root.git.aliases"
set -l aliases (getConfig "$key" --json)
for name in (echo "$aliases" | jq 'keys[]' --raw-output0 | string split0)
setConfig "alias.$name" (getConfig "$key.$name")