diff .bash_aliases @ 15:fe83d9892ee3

Replaced tests with a 'case' in .bash_aliases Added modeline in .bash_aliases to help vim see filetype Started work on Toodledo -> ~/.todo; so far not bad, but the Ruby gem might be buggy and cause problems. Idea is still somewhat sound, so instead of ripping out the code I'll just comment around it for now.
author huston@80426f53-59d1-405d-934b-f07cd76f4a1a
date Sun, 30 Aug 2009 20:37:09 +0000
parents dacbbae5965c
children f65964738bab
line wrap: on
line diff
--- a/.bash_aliases	Sun Aug 30 06:49:10 2009 +0000
+++ b/.bash_aliases	Sun Aug 30 20:37:09 2009 +0000
@@ -1,14 +1,14 @@
-# Mac OS X specific
-[[ `uname` == "Darwin" ]] && {
-   # DARWIN is used for the SSHFS mounts below
-   DARWIN="yes"
-   alias ls='ls -FG'
-}
+case `uname` in
+   Darwin)
+      # DARWIN is used for the SSHFS mounts below
+      DARWIN="yes"
+      alias ls='ls -FG'
+      ;;
 
-# Linux specific
-[[ `uname` == "Linux" ]] && {
-   alias ls='ls --color=auto -F'
-}
+   Linux)
+      alias ls='ls --color=auto -F'
+      ;;
+esac
 
 # SSH aliases
 alias dh='ssh srhuston.net'
@@ -42,3 +42,5 @@
 
 # Other
 alias condor_check="ls -lat /u/condor/hosts/*/log/MasterLog /scr/chimera0/condor/hosts/*/log/MasterLog"
+
+# vim: set filetype=sh :