small pixel drawing of a pufferfish dotfiles

Add ls colorization
j3s j3s@c3f.net
Thu, 22 Oct 2020 14:39:06 -0500
commit

c35e04421377326b5f1c81829426e66b5d27cf49

parent

2de59590f8b96a1d36ad415b537c301061fafafa

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