Skip to content

Commit

Permalink
scripts/setup.bash: Add ccd for moving between packages and autocompl…
Browse files Browse the repository at this point in the history
…ete to colcon
  • Loading branch information
cbrxyz committed Jan 1, 2025
1 parent 5079b3b commit 114d7da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ mil_system_install \
ros-jazzy-tf2-sensor-msgs \
ros-jazzy-geographic-msgs \
ros-jazzy-vision-msgs \
ros-jazzy-velodyne
ros-jazzy-velodyne \
python3-colcon-common-extensions

cat <<EOF
$(color "$Pur")
Expand Down
8 changes: 8 additions & 0 deletions scripts/setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ _list_complete() {
# Use Cyclone DDS by default (it's super fast and amazing!)
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp

# Setup colcon_cd
source "/usr/share/colcon_cd/function/colcon_cd.sh"
export _colcon_cd_root=$MIL_REPO
alias ccd="colcon_cd"

# Setup colcon autocomplete
source "/usr/share/colcon_cd/function/colcon_cd-argcomplete.bash"

alias mil='cd $MIL_REPO'

alias srcbrc="source ~/.bashrc"
Expand Down

0 comments on commit 114d7da

Please sign in to comment.