summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-15 18:49:58 -0400
committerJune McEnroe <june@causal.agency>2018-08-15 18:49:58 -0400
commit4c31466806435f9c0d0d3ed488eebf86418b1d74 (patch)
tree271716f8d6674755a679a32bee0c9d88d4ece011 /home
parentMove nasd to shell script (diff)
downloadsrc-4c31466806435f9c0d0d3ed488eebf86418b1d74.tar.gz
src-4c31466806435f9c0d0d3ed488eebf86418b1d74.zip
Add GNU color aliases to mkshrc
You know, it's nice to be able to actually read the man page for your
shell.
Diffstat (limited to 'home')
-rw-r--r--home/.kshrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/home/.kshrc b/home/.kshrc
index 8207ef19..7f2d60c8 100644
--- a/home/.kshrc
+++ b/home/.kshrc
@@ -16,7 +16,9 @@ fi
 export GPG_TTY=$(tty)
 
 export CLICOLOR=1
-# TODO: GNU aliases.
+if [[ $(uname) = 'Linux' ]]; then
+	alias ls='ls --color=auto' grep='grep --color' rm='rm -I'
+fi
 
 export NETHACKOPTIONS='
 	name:June, role:Valkyrie, race:Human, gender:female, align:neutral,