1
0

treewide: style (trivia)

This commit is contained in:
2021-10-01 10:14:53 +03:00
parent f07d2d3b35
commit bc5e07f76e
4 changed files with 11 additions and 12 deletions

View File

@@ -17,8 +17,8 @@ __z_alt_ls() {
case "$n" in
0) : do nothing ;;
*) z-alt-set-static 'ls|-d .' "$1" "LS_OPTIONS='' " ;;
# 1) z-alt-set-static 'ls|-d .' "$1" "LS_OPTIONS='' " ;;
# *) z-alt-set-dynamic 'ls|-d .' "$1" "LS_OPTIONS='' " ;;
# 1) z-alt-set-static 'ls|-d .' "$1" "LS_OPTIONS='' " ;;
# *) z-alt-set-dynamic 'ls|-d .' "$1" "LS_OPTIONS='' " ;;
esac
}
@@ -34,8 +34,7 @@ darwin*) alt="gls ${LS_GNU}|ls -G|ls" ;;
esac
__z_alt_ls "${alt}"
unfunction __z_alt_ls
unset -f __z_alt_ls
unset alt LS_GNU
[ -n "${LS_COLORS}" ] && zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"