I'm new to bash and unix. I'm trying to create an alias for ls. In my .bash_profile I have the following:
alias ls="ls -lhHG"
This doesn't work at all. If I change it to:
alias la="ls -lhHG"
then everything but G (showing pretty colors) works.
Right now my $Path is
/opt/local/bin:/Users/clang/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
The only other stuff in my .bash_profile is
1 export EDITOR=/usr/bin/vim
2 export PATH=/opt/local/bin:~/bin:$PATH
Again, I'm totally new to this so please go easy on me.
lsto 'work' – Rich Homolka Oct 5 '10 at 23:13