Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 just did two things : install scm_breeze and mercurial :

git clone git:// ~/.scm_breeze
sudo apt-get install mercurial

And now my cd command seems to be gone :

dys@dys-tour:~/prog> cd ~
bash: /home/dys : is a folder
dys@dys-tour:~/prog> cd ..
.. : command not found

The terminals I opened before installing scm_breeze and mercurial are fine. The terminals I open now have the problem. I uninstalled scm_breeze, with no result.

What can I do to diagnose the problem and fix it ?

share|improve this question
What do you get from builtin type cd? – choroba Oct 27 '12 at 16:15
seems to be a bug made by scm_breeze : cd is an alias to « exec_scmb_expand_args »... How can I fix that properly (please make it an answer). – Denys Séguret Oct 27 '12 at 16:22
Did you by any chance change your .bashrc file? – drN Oct 27 '12 at 17:09
up vote 1 down vote accepted

'builtin' type cd will tell you what cd actually means for your current shell. It is probably aliased to something else. You can still get the original cd by using 'builtin' cd or 'cd'.

share|improve this answer
Thanks for this information. – Denys Séguret Oct 27 '12 at 17:15

Removing all traces of sh files installed by scm_breeze fixed the problem.

It was (I didn't found where) adding an alias to exec_scmb_expand_args.

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.