ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

setup.bash setup.sh setup.zsh

asked 2014-08-03 09:44:59 -0600

Winston gravatar image

I want to find out the differences between 3 files created when using the command 'rosws init ~/fuerte-ws /opt/ros/fuerte' : setup.bash setup.sh setup.zsh. In the rosbuild tutorial, it tells me to source setup.sh. But in catkin tutorial, we source setup.bash. So do these three files serve the same function? Why no one uses setup.zsh? What is it?

Thank you very much.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
7

answered 2014-08-03 10:02:13 -0600

bvbdort gravatar image

They are for different shells in linux

bash is default shell in ubuntu. Depending on which shell you are using you can source respective setup.

you can check which shell you are using in by using echo $SHELL

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-08-03 09:44:59 -0600

Seen: 4,855 times

Last updated: Aug 03 '14