@@ 179,7 179,7 @@ bindkey '^[w' mypwd
# Alt+l to list files
function myls {
pull_command || return 1
- local x="$(ls --color=always --format=vertical --width="$COLUMNS" --quoting-style=shell)"
+ local x="$(\ls --color=always -C -w "$COLUMNS")"
printf "${x:+\n}%s" "$x"
}
zle -N myls
@@ 187,7 187,7 @@ bindkey '^[l' myls
# Alt+L to list files including dotfiles
function mylsdots {
pull_command || return 1
- local x="$(ls --almost-all --color=always --format=vertical --width="$COLUMNS" --quoting-style=shell)"
+ local x="$(\ls --color=always -C -w "$COLUMNS" -a)"
printf "${x:+\n}%s" "$x"
}
zle -N mylsdots