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

Fix issues with docker and sources

parent 10f22ec2
No related branches found
No related tags found
No related merge requests found
...@@ -206,6 +206,7 @@ RUN chmod a+x /ros_entrypoint.sh ...@@ -206,6 +206,7 @@ RUN chmod a+x /ros_entrypoint.sh
ENTRYPOINT ["/ros_entrypoint.sh"] ENTRYPOINT ["/ros_entrypoint.sh"]
CMD ["zsh"] CMD ["zsh"]
ENV SHELL /usr/bin/zsh
# Switch back to dialog for any ad-hoc use of apt-get # Switch back to dialog for any ad-hoc use of apt-get
ENV DEBIAN_FRONTEND= ENV DEBIAN_FRONTEND=
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
# ROS # ROS
################################################################### ###################################################################
export ROS_DISTRO=noetic if [ -z $ROS_DISTRO ]; then export ROS_DISTRO=noetic; fi
ext=$(basename ${SHELL}) if [ -z $SHELL ]; then echo "SHELL not set"; else ext=$(basename ${SHELL}); fi
# Source rosmon # Source rosmon
function smon(){ function smon(){
...@@ -39,6 +39,7 @@ FILE=${WS_path}/devel/setup.${ext} ...@@ -39,6 +39,7 @@ FILE=${WS_path}/devel/setup.${ext}
if [[ -f $FILE ]]; then if [[ -f $FILE ]]; then
cd ${WS_path} cd ${WS_path}
source $FILE source $FILE
smon
cd ${pwd_bck} cd ${pwd_bck}
else
source /opt/ros/${ROS_DISTRO}/setup.${ext}
fi fi
if command -v lsd &> /dev/null
then
# Directories # Directories
alias ll='lsd -lh --group-dirs=first' alias ll='lsd -lh --group-dirs=first'
alias la='lsd -a --group-dirs=first' alias la='lsd -a --group-dirs=first'
alias l='lsd --group-dirs=first' alias l='lsd --group-dirs=first'
alias lla='lsd -lha --group-dirs=first' alias lla='lsd -lha --group-dirs=first'
alias ls='lsd --group-dirs=first' alias ls='lsd --group-dirs=first'
fi
if command -v bat &> /dev/null
then
# Files # Files
alias cat='bat' alias cat='bat'
fi
# Python # Python
alias ipy='ipython' alias ipy='ipython'
\ 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