Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just did two things : install scm_breeze and mercurial :

git clone git://github.com/ndbroadbent/scm_breeze.git ~/.scm_breeze
~/.scm_breeze/install.sh
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). –  dystroy Oct 27 '12 at 16:22
    
Did you by any chance change your .bashrc file? –  drN Oct 27 '12 at 17:09
add comment

2 Answers

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. –  dystroy Oct 27 '12 at 17:15
add comment

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
add comment

Your Answer

 
discard

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.