commit 4994b68fec304ce4c20f133be8c95f4243d8409a parent 255622b7c1b8e68529be337126bfdbd9575c609e Author: pyratebeard <root@pyratebeard.net> Date: Fri, 1 Dec 2023 22:35:15 +0000 unix ls workaround Diffstat:
M | zsh/.zsh/functions/chpwd_auto_cd | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/zsh/.zsh/functions/chpwd_auto_cd b/zsh/.zsh/functions/chpwd_auto_cd @@ -1,2 +1,6 @@ emulate -L zsh -ls -lAhF --color=auto +# have to do a similar thing here +# as in aliases.zsh +command -v gls >/dev/null && \ + gls -lAhF --color=auto || \ + ls -lAhF --color=auto