Skip to content
Snippets Groups Projects
Commit 349d4836 authored by Montaño Sarria, Andres Felipe's avatar Montaño Sarria, Andres Felipe
Browse files

Add support to zsh into devcontainer

parent 830996b0
Branches
No related tags found
No related merge requests found
......@@ -29,9 +29,9 @@ WORKDIR /home/$USERNAME
# ********************************************************
# [Optional] Clone dotfiles and apply configuration
# RUN git clone https://github.com/andsens/homeshick.git /home/$USERNAME/.homesick/repos/homeshick \
# && /home/$USERNAME/.homesick/repos/homeshick/bin/homeshick clone anfemosa/dotfiles \
# && /home/$USERNAME/.homesick/repos/homeshick/bin/homeshick -f link dotfiles
RUN git clone https://github.com/andsens/homeshick.git /home/$USERNAME/.homesick/repos/homeshick \
&& /home/$USERNAME/.homesick/repos/homeshick/bin/homeshick clone anfemosa/dotfiles \
&& /home/$USERNAME/.homesick/repos/homeshick/bin/homeshick -f link dotfiles
CMD ["${SHELL}"]
......@@ -5,7 +5,8 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
"USERNAME": "andres"
"USERNAME": "andres",
"SHELL": "/bin/zsh"
}
},
"workspaceFolder": "/home/ws",
......
......@@ -7,11 +7,12 @@
"label": "colcon: build (debug)",
"type": "shell",
"command": [
"source /opt/ros/humble/setup.zsh;",
"source /opt/ros/humble/setup.${ext};",
"colcon build",
"--symlink-install",
"--cmake-args -DCMAKE_BUILD_TYPE=Debug",
"--packages-skip allegro_hand_weiss"
"--packages-skip allegro_hand_weiss;",
"source ${workspaceFolder}/install/setup.${ext};"
],
"problemMatcher": [],
"group": {
......@@ -23,10 +24,11 @@
"label": "colcon: build",
"type": "shell",
"command": [
"source /opt/ros/humble/setup.zsh;",
"source /opt/ros/humble/setup.${ext};",
"colcon build",
"--symlink-install",
"--packages-skip allegro_hand_weiss"
"--packages-skip allegro_hand_weiss",
"source ${workspaceFolder}/install/setup.${ext};"
],
"problemMatcher": [],
"group": {
......@@ -45,12 +47,19 @@
"label": "colcon: test",
"type": "shell",
"command": [
"source /opt/ros/humble/setup.zsh;",
"source install/setup.zsh;",
"source /opt/ros/humble/setup.${ext};",
"source install/setup.${ext};",
"colcon test",
"--packages-select <package-name>",
"--event-handlers console_direct+;"
]
}
},
{
"label": "workspace: source",
"type": "shell",
"command": [
"source ${workspaceFolder}/install/setup.${ext};"
]
},
]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment