mirror of
https://github.com/atuinsh/atuin.git
synced 2025-01-22 14:18:59 +01:00
fix(search): allow empty search (#1866)
This commit is contained in:
parent
3368d2fa47
commit
02d79feea5
@ -135,7 +135,7 @@ impl Cmd {
|
|||||||
.map(std::string::ToString::to_string)
|
.map(std::string::ToString::to_string)
|
||||||
.collect()
|
.collect()
|
||||||
} else {
|
} else {
|
||||||
return Err(eyre!("please specify search query via args or ATUIN_QUERY"));
|
vec![]
|
||||||
};
|
};
|
||||||
|
|
||||||
if (self.delete_it_all || self.delete) && self.limit.is_some() {
|
if (self.delete_it_all || self.delete) && self.limit.is_some() {
|
||||||
|
Loading…
Reference in New Issue
Block a user