-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use 'builtin' command in setup.bash #542
Comments
Besides the setup.bash I would assume that it would also be impossible to build anything with that kind of customized |
I can compile fine with both rosbuild and catkin. (with custom cd command). Is this what you wanted me to test? |
Can you please post your custom |
It used to be pretty straightforward like this:
But has now grown to this:
|
Thanks for pointing it out. I fixed it for bash and zsh. |
Great! Thanks! |
The setup.bash script should use "builtin cd" instead of just "cd". This fixes a bug for people who have created a function called "cd" to perform extra functionality in addition to changing directories, (for example doing an "ls" upon entering the new directory). The new line should be:
This will not change any behavior for those people who have not changed the functionality of the "cd" command.
I understand that the person who overrode "cd" should have the onus on them to fix any side-effects caused by their customization. However, the error you get is very non-intuitive and can take a long time to figure out why that command is not working.
The text was updated successfully, but these errors were encountered: