Permalink
Browse files

fixed alias ls and ll on linux and mac

  • Loading branch information...
1 parent cc31d3e commit bf5848ec8dba9d8df629a6ae0356d4935d41f5f4 @adamfeuer committed Apr 10, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 .bashrc.load
View
@@ -141,15 +141,15 @@ fi
if [ 'Linux' == `uname -a | cut -c -5` ]; then
# on Linux
- alias ls='ls -GFA'
- alias ll='ls -GlA '
+ alias ls='ls -hFA --color=auto'
+ alias ll='ls -hlA --color=auto'
start_ssh_agent_if_necessary
else
if [ ! -z `which brew` ]; then
# on a Mac with brew installed
- alias ls='ls -hFA --color=auto'
- alias ll='ls -hlA --color=auto'
if [ -f `brew --prefix`/etc/bash_completion ]; then
+ alias ls='ls -GFA'
+ alias ll='ls -GlA '
. `brew --prefix`/etc/bash_completion
fi
fi

0 comments on commit bf5848e

Please sign in to comment.