|
#1
| |||
| |||
|
Hi, Sorry for asking what is sure to be a stupidly easy question... what have I done wrong that makes my MacBook Pro (snow leopard) not recognize the aliases I've tried to add to my .bashrc file? They're super simple: alias ll="ls -l" alias la="ls -a" I need to solve this problem before working on my rsync shell script. Thanks for your help! -Traci |
|
#2
| ||||
| ||||
|
Here's my setup (don't know when I set this up, but it works) Check that you have a .bash_profile and it contains: Code: if [ -e ~/.bashrc ]; then
source ~/.bashrc
fi
__________________ Tech Blog |
| The Following User Says Thank You to macbri For This Useful Post: | ||
TraciC (October 1st, 2009) | ||
|
#3
| ||||
| ||||
|
Also, if I'm not mistaken (and it could very well work both ways), but in bash, enclosing a command should be done with single-quote characters (not double-quote), like so: Code: alias ll='ls -laFG' Just throwin' that out there...
__________________ Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 18Mb/2Mb http://www.jeffhoppe.com |
| The Following User Says Thank You to ElDiabloConCaca For This Useful Post: | ||
TraciC (October 1st, 2009) | ||
|
#4
| |||
| |||
|
Thanks a lot guys. Believe it or not, wasn't in the bash shell, so have fixed THAT and now things work. God what a newbie.
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|