mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Let --no-config imply private mode
This stops it from saving history.
This commit is contained in:
parent
0420901cb2
commit
2416aa5337
|
@ -336,6 +336,8 @@ static int fish_parse_opt(int argc, char **argv, fish_cmd_opts_t *opts) {
|
|||
}
|
||||
case 'N': {
|
||||
opts->no_config = true;
|
||||
// --no-config implies private mode, we won't be saving history
|
||||
opts->enable_private_mode = true;
|
||||
break;
|
||||
}
|
||||
case 'n': {
|
||||
|
|
Loading…
Reference in New Issue
Block a user