This commit is contained in:
Dylan Araps 2020-08-04 09:48:11 +03:00
parent d4134aac9d
commit e97caa3c6c
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 3 additions and 2 deletions

5
shfm
View File

@ -113,6 +113,7 @@ main() {
cd "${1:-"$PWD"}"
set -- *
cur=$1
term_resize
term_setup
@ -168,9 +169,9 @@ main() {
;;
l?|C2|"$esc") # ARROW RIGHT
if cd "$cur"; then
if cd "$cur" >/dev/null 2>&1; then
set -- *
y=1 y2=1
y=1 y2=1 cur=$1
else
printf '\033[?25h'
"${SHFM_OPENER:="${EDITOR:=vi}"}" "$cur"