fix selecting anime from list

This commit is contained in:
ksyasuda 2021-11-13 01:39:54 -08:00
parent 706b66ae3a
commit 867a237b9a

View File

@ -251,7 +251,7 @@ get_search_query() {
-config "$CFG_DIR/${ROFI_CFG}")
# Strip the list entry number from string
query="${query//[1-9]+\. /}"
query="${query//[1-9]*\. /}"
[ "$VERBOSE" -eq 1 ] && printf "%s\n" "Query: $query"
else
query=$*