reset search on open

This commit is contained in:
Dylan Araps
2020-08-04 17:01:44 +03:00
parent 1901d8c204
commit cbb0240d19
+1 -1
View File
@@ -263,7 +263,7 @@ main() {
l?|C2|"$esc") # ARROW RIGHT
if cd "$cur" >/dev/null 2>&1; then
set -- *
y=1 y2=1 cur=$1
y=1 y2=1 cur=$1 search=0
redraw "$@"
else
cmd_run "${SHFM_OPENER:="${EDITOR:=vi}"}" "$cur"