Ask Your Question
1

setup.bash setup.sh setup.zsh

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

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 -0500

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 3,829 times

Last updated: Aug 03 '14