Compare commits

..

2 Commits

Author SHA1 Message Date
Trag Date
31302da39e
Merge de8b25170dfa3c23b316978c5791ba3ef045e915 into 50e72a1a0306d4343360b31f941ef73b4c2e8ba5 2023-11-13 20:07:27 +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

@ -50,7 +50,7 @@ cmd open ${{
esac
}}
cmd mkdir $mkdir -p "$(echo $* | tr ' ' '\ ')"
cmd mkdir $mkdir -p "$@"
cmd extract ${{
clear; tput cup $(($(tput lines)/3)); tput bold
@ -139,7 +139,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