diff options
author | Ryan Kavanagh <rak@debian.org> | 2013-03-06 15:29:53 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2013-03-06 15:29:53 -0500 |
commit | 373df190c6eb2a501dad24a4b7c706831b921c10 (patch) | |
tree | 668864e6d5be03da12093079f41e971a1ff58a1c /.zshrc | |
parent | Add option to disable emacs compilation (diff) |
Use colorls where available under OpenBSD
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -135,9 +135,11 @@ if [[ `uname` = "Linux" ]]; then alias chown="chown -v" alias chmod="chmod -v" + alias ls="ls --classify --color=always" # Add all colours and + # have fancy symbols for files, etc. +elif [[ `uname` = "OpenBSD" && -x /usr/local/bin/colorls ]]; then + alias ls="colorls -G" fi -alias ls="SUBSTS_LS --classify --color=always" # Add all colours and - # have fancy symbols for files, etc. # Cause encfs unmount a mounted encrypted partition after twenty minutes of # inactivity by default. |