Compare commits

..

2 Commits

Author SHA1 Message Date
poeplva
18d9973b74
Merge a17c30988d9d26290a062b38eb9cfa59f225ff7c into 50e72a1a0306d4343360b31f941ef73b4c2e8ba5 2023-11-13 20:15:53 +03:00
Emre AKYÜZ
50e72a1a03
An unnecessary(?), small improvement for lf mkdir command (#1372)
The new method is more robust and better handles directory names with spaces and special characters.

It's more minimal.
2023-11-13 13:30:08 +00:00

View File

@ -56,7 +56,7 @@ cmd open ${{
esac
}}
cmd mkdir $mkdir -p "$(echo $* | tr ' ' '\ ')"
cmd mkdir $mkdir -p "$@"
cmd extract ${{
clear; tput cup $(($(tput lines)/3)); tput bold
@ -145,7 +145,7 @@ map D delete
map E extract
map C copyto
map M moveto
map <c-n> push :mkdir<space>
map <c-n> push :mkdir<space>""<left>
map <c-r> reload
map <c-s> set hidden!
map <enter> shell