Using https://github.com/gazorby/fish-git-emojis , to fix your fisher gci
gdocs
or gfix
commands so that the emoji is after the colon (for conventional commits format), edit this file:
~/.config/fish/functions/_gc.fish
You want the switch case to look like this:
switch (count $argv)
case '4'
set cmd git commit -m "\"$argv[2]($argv[3])$breaking: $argv[1] $argv[4..-1]\"" $footers
case '3'
set cmd git commit -m "\"$argv[2]$breaking: $argv[1] $argv[3..-1]\"" $footers
case '*'
set cmd git commit -m "$argv"
end
Double check that the argv1 is after the colon (see line 23, line 21).
Then, run
source ~/.config/fish/functions/_gc.fish