mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 09:12:11 +08:00
fixup! set_color: Don't error with "-b" and no argument
This commit is contained in:
parent
5da3a95451
commit
0414be75cc
@ -87,7 +87,6 @@ int builtin_set_color(parser_t &parser, io_streams_t &streams, wchar_t **argv) {
|
||||
#endif
|
||||
|
||||
// Variables used for parsing the argument list.
|
||||
wchar_t *cmd = argv[0];
|
||||
int argc = builtin_count_args(argv);
|
||||
|
||||
// Some code passes variables to set_color that don't exist, like $fish_user_whatever. As a
|
||||
|
Loading…
x
Reference in New Issue
Block a user