Fix use of incorrect config keys

This commit is contained in:
Manuel Thalmann 2024-07-20 01:38:53 +02:00
parent 2a307cc943
commit 0a9d8e2c16

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")