~geb/tiles

bef87634bb6e1bf81e88e4fa1536dbb0602eb6f1 — John Gebbie 11 months ago c75d42c
zsh: tweak ls options for busybox, ls -> \ls
1 files changed, 2 insertions(+), 2 deletions(-)

M etc/zsh/.zshrc
M etc/zsh/.zshrc => etc/zsh/.zshrc +2 -2
@@ 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