termux-packages/packages/mcfly/src-settings.rs.patch

24 lines
990 B
Diff
Raw Normal View History

--- a/src/settings.rs
+++ b/src/settings.rs
@@ -238,8 +238,8 @@
.subcommand(SubCommand::with_name("init")
.about("Prints the shell code used to execute mcfly")
.arg(Arg::with_name("shell")
- .help("Shell to init — one of bash, zsh, or fish")
- .possible_values(&["bash", "zsh", "fish"])
+ .help("Shell to init — one of zsh or fish")
+ .possible_values(&["zsh", "fish"])
.required(true))
)
.get_matches();
@@ -459,9 +459,6 @@
("init", Some(init_matches)) => {
settings.mode = Mode::Init;
match init_matches.value_of("shell").unwrap() {
- "bash" => {
- settings.init_mode = InitMode::Bash;
- }
"zsh" => {
settings.init_mode = InitMode::Zsh;
}