Skip to content
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

[jsk_tools] Handle shell and dotfiles for shared computers #1369

Merged
merged 1 commit into from
Apr 14, 2016

Conversation

wkentaro
Copy link
Member

Modified:

  • jsk_tools/CMakeLists.txt

Added:

  • jsk_tools/env-hooks/99.dotfile.bash
  • jsk_tools/env-hooks/99.dotfile.zsh

Usage

$ config_switch wkentaro /bin/bash
Switching user: wkentaro -> wkentaro
Linked .bashrc -> .bashrc.wkentaro
Linked .zshrc -> .zshrc.wkentaro
Linked .vimrc -> .vimrc.wkentaro
Linked .vim -> .vim.wkentaro
Linked .gitconfig -> .gitconfig.wkentaro
Logging in as 'wkentaro' with '/bin/bash'
$ cat ~/.ros/jsk_tools/current_config
wkentaro
/bin/bash
$ config_switch
Current user: wkentaro
Current shell: /bin/bash

Modified:
  - jsk_tools/CMakeLists.txt

Added:
  - jsk_tools/env-hooks/99.dotfile.bash
  - jsk_tools/env-hooks/99.dotfile.zsh
  - doc/jsk_tools/cltools/dotfile.rst
@k-okada k-okada merged commit acef042 into jsk-ros-pkg:master Apr 14, 2016
@k-okada
Copy link
Member

k-okada commented Apr 14, 2016

I think each user should use his/her own account and if he/she want to use someone's workspace, we can

$ source ~wkentaro/catkin_ws/devel/setup.bash
$ cd ~k-okada/catkin_ws;
$ catkin b

@wkentaro wkentaro deleted the dotfile branch April 14, 2016 09:40
@wkentaro
Copy link
Member Author

I think each user should use his/her own account and if he/she want to use someone's workspace, we can

$ source ~wkentaro/catkin_ws/devel/setup.bash
$ cd ~k-okada/catkin_ws;
$ catkin b

@knorth55 @yuyu2172
Please try this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants