X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/51ac318a1294c0cc8a4eb2e5f8c647a2e2b7001f..bbc6ef11c56f5a72285ef5ac88b0d130d3d4bb21:/.zsh/zshrc/80-zle_inplace_list diff --git a/.zsh/zshrc/80-zle_inplace_list b/.zsh/zshrc/80-zle_inplace_list index dc7753d..1f66759 100644 --- a/.zsh/zshrc/80-zle_inplace_list +++ b/.zsh/zshrc/80-zle_inplace_list @@ -27,11 +27,19 @@ _list_inplace() { lastarg="${(Q)bufwords[iword]}" fi [[ -z "${lastarg}" ]] && return 1 - ls -l ${~lastarg:h} - zle end-of-line + ls "$@" ${~lastarg} + zle redisplay + #zle end-of-line } zle -N _list_inplace bindkey '\el' _list_inplace +_list_inplace_time() { + emulate -L zsh + _list_inplace -rt +} +zle -N _list_inplace_time +bindkey '\eL' _list_inplace_time + # vim:ft=zsh