Add ls colorization
j3s j3s@c3f.net
Thu, 22 Oct 2020 14:39:06 -0500
1 files changed,
9 insertions(+),
0 deletions(-)
jump to
M
.env
→
.env
@@ -20,6 +20,15 @@ fi
. /tmp/ssh-agent-$USER >/dev/null fi +# colorize ls +if ls --version 2>&1 | grep -i gnu >/dev/null +then + alias ls='ls --color=auto ' + elif ls --version 2>&1 | grep -i busybox >/dev/null + then + alias ls='ls --color=auto ' +fi + # launch alacritty with no GPU support if on old thinkpad if [ "$(hostname)" == 'nyx' ]; then export LIBGL_ALWAYS_SOFTWARE=1