Describe the bug
fish-abbreviation-tips doesn't handle alias -s well (or any other alias flags) , prints out the following error but creates the alias:
❯ alias -s rmi="rm -i"
string match: Unknown option “-s”
~/.config/fish/conf.d/abbr_tips.fish (line 47):
if string match -q '*=*' "$command[2]"
^
in function '__abbr_tips' with arguments 'alias\ -s\ rmi=\"rm\ -i\"'
in event handler: handler for generic event “fish_postexec”
(Type 'help string' for related documentation)
To Reproduce
Run the following command alias -s rmi="rm -i"
Expected behavior
I'd expect not to see that error.
Screenshots
System (please complete the following information):
Describe the bug fish-abbreviation-tips doesn't handle
alias -s
well (or any other alias flags) , prints out the following error but creates the alias:To Reproduce Run the following command
alias -s rmi="rm -i"
Expected behavior I'd expect not to see that error.
Screenshots
System (please complete the following information):
Additional context Add any other context about the problem here.