Fix use of incorrect config keys
This commit is contained in:
parent
2a307cc943
commit
0a9d8e2c16
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue