diff --git a/share/completions/git.fish b/share/completions/git.fish index 9a58efdb4..6c1f80e7e 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -576,7 +576,7 @@ function __fish_git_config_keys # Print already defined config values first # Config keys may span multiple lines, so parse using null char # With -z, key and value are separated by space, not "=" - git config -lz | while read -lz key value + __fish_git config -lz | while read -lz key value # Print only first line of value(with an ellipsis) if multiline printf '%s\t%s\n' $key (string replace \n …\n -- $value)[1] end