Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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've added some lines to ~/.bash_aliases yesterday... And today my gnome-terminal started showing me this expression in the beginning, just before the prompt.

/home/igoru /etc/bash_completion

Those are the lines I added:

alias realias='vim ~/.bash_aliases; source ~/.bash_aliases'
alias ..='cd ..'
alias .='echo $PWD'
alias canhaz='sudo apt-get install'

What is happening?
Is this expression really related to those aliases, or what?

share|improve this question
It is easy to comment these out and recheck fast :-) – nik Aug 21 '09 at 4:01
That will help you answer your last question and recollect anything else you may have done. – nik Aug 21 '09 at 4:02
what? is it meaningful for this question? :S – igorsantos07 Aug 21 '09 at 4:27
up vote 10 down vote accepted

"." is a synonym for "source." Some line in some file is trying to source /etc/bash_completion after you have aliased it to "echo $PWD."

I think realiasing the bash builtins is a bad idea. Too many scripts will depend on it to act the original way. Consider "." a reserved keyword.

share|improve this answer

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.