summary refs log tree commit diff
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
commit09f6e0e186bc99afc3b7966466f0d56b3cadb203 (patch)
tree5f5c675b767e1e81b680122d39bab268caaa3304
parentMove nasd to shell script (diff)
downloadsrc-09f6e0e186bc99afc3b7966466f0d56b3cadb203.tar.gz
src-09f6e0e186bc99afc3b7966466f0d56b3cadb203.zip
Add GNU color aliases to mkshrc
You know, it's nice to be able to actually read the man page for your
shell.
-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,