As reported on gitter by @zx8, git aliases can contain characters that variables can't, which causes the git completions to spew errors.
This requires us to encode the alias name. The easiest thing that I came up with is set -l escaped_alias (printf '%02X' "'"(string split '' -- $alias)), which hex-encodes the alias characters.
As reported on gitter by @zx8, git aliases can contain characters that variables can't, which causes the git completions to spew errors.
This requires us to encode the alias name. The easiest thing that I came up with is
set -l escaped_alias (printf '%02X' "'"(string split '' -- $alias)), which hex-encodes the alias characters.