mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 17:28:19 +00:00
f1d40a3c7c
The bind mode names can be, and are, used in the construction of fish variable names. So don't allow users to use names that are not legal as a variable name. This should not break anything since, AFAICT, no existing fish scripts, including those provided by Oh-My-Fish and Fisherman define bind modes that would not be legal with this change. Fixes #3965
4 lines
239 B
Text
4 lines
239 B
Text
# Verify that an invalid bind mode is rejected.
|
|
bind: mode name 'bad bind mode' is not valid. See `help identifiers`.
|
|
# Verify that an invalid bind mode target is rejected.
|
|
bind: mode name 'bind-mode' is not valid. See `help identifiers`.
|