Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to make an alias to edit my bash profile, but when I save and relaunch a new window, I get the following:

Last login: Sun Jul 22 12:00:25 on ttys001
-bash: alias: nano ~/.bash_profile: not found
Adams-MacBook-Pro:~ adam$

### manually reopen a new terminal

Adams-MacBook-Pro:~ adam$ ebp
Adams-MacBook-Pro:~ adam$  

My .bash_profile looks like :

# edit bash profile
alias ebp= 'nano ~/.bash_profile'
# alias rbp= 'source .bash_profile'

Also fwiw, my other aliases work fine. Any ideas on what i'm doing wrong?

share|improve this question
up vote 3 down vote accepted

Remove the space between ebp= and 'nano ~/.bash_profile' and the alias will work.

share|improve this answer
doh!... thanks!! – SkinnyG33k Jul 22 '12 at 20:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.