Allow selecting multiple recipes with default chooser (#1547)
This commit is contained in:
parent
41aee4572d
commit
cdb0dfae5f
@ -4,7 +4,7 @@ use {
|
||||
};
|
||||
|
||||
// These three strings should be kept in sync:
|
||||
pub(crate) const CHOOSER_DEFAULT: &str = "fzf --preview 'just --show {}'";
|
||||
pub(crate) const CHOOSER_DEFAULT: &str = "fzf --multi --preview 'just --show {}'";
|
||||
pub(crate) const CHOOSER_ENVIRONMENT_KEY: &str = "JUST_CHOOSER";
|
||||
pub(crate) const CHOOSE_HELP: &str = "Select one or more recipes to run using a binary. If \
|
||||
`--chooser` is not passed the chooser defaults to the value \
|
||||
|
@ -152,7 +152,7 @@ fn invoke_error_function() {
|
||||
",
|
||||
)
|
||||
.stderr_regex(
|
||||
r"error: Chooser `/ -cu fzf --preview 'just --show \{\}'` invocation failed: .*\n",
|
||||
r"error: Chooser `/ -cu fzf --multi --preview 'just --show \{\}'` invocation failed: .*\n",
|
||||
)
|
||||
.status(EXIT_FAILURE)
|
||||
.shell(false)
|
||||
|
Loading…
Reference in New Issue
Block a user