mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-17 10:05:11 +00:00
Fixed "tomb search"
This way you can't specify a tomb to search in, but at least it will search for the patterns.
This commit is contained in:
parent
88b24de30a
commit
778bca3864
2
tomb
2
tomb
@ -1537,7 +1537,7 @@ search_tombs() {
|
|||||||
die "Cannot index tombs on this system: updatedb not installed" }
|
die "Cannot index tombs on this system: updatedb not installed" }
|
||||||
|
|
||||||
# list all open tombs
|
# list all open tombs
|
||||||
mounted_tombs=(`list_tomb_mounts $1`)
|
mounted_tombs=(`list_tomb_mounts`)
|
||||||
{ test ${#mounted_tombs} = 0 } && {
|
{ test ${#mounted_tombs} = 0 } && {
|
||||||
die "I can't see any open tomb, may they all rest in peace." }
|
die "I can't see any open tomb, may they all rest in peace." }
|
||||||
yes "Searching for: $fg_bold[white]${=PARAM}$fg_no_bold[white]"
|
yes "Searching for: $fg_bold[white]${=PARAM}$fg_no_bold[white]"
|
||||||
|
Loading…
Reference in New Issue
Block a user