Turn on LS_COLORS for pkgusrs
authorSteve Youngs <steve@steveyoungs.com>
Mon, 25 Jan 2021 11:06:45 +0000 (21:06 +1000)
committerSteve Youngs <steve@steveyoungs.com>
Mon, 25 Jan 2021 11:06:45 +0000 (21:06 +1000)
Signed-off-by: Steve Youngs <steve@steveyoungs.com>
etc/pkgusr/bash_profile

index 86ea4a7..eaf7f6d 100644 (file)
@@ -72,6 +72,10 @@ export SUPPRESSLOCALEDIR CHECKUPDATES SLACKPKG
 # Make prompt reflect that we are a package user.
 export PROMPT_COMMAND='PS1="[pkgusr (\u)] \w> "'
 
+# Pretty colours
+eval $(dircolors -b)
+alias ls='ls --color=always -Fb'
+
 # Suck in some handy shell functions
 . /etc/pkgusr/handy_funcs