X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f8f50b53a08680745190898c46e68b26775529d1..3fcb2cdfbd4249bdef950973e6f11c91538e7a21:/zshrc diff --git a/zshrc b/zshrc index 880805c..9031177 100644 --- a/zshrc +++ b/zshrc @@ -20,7 +20,7 @@ autoload -U compinit; compinit # miscelaneous options setopt extendedglob -setopt csh_nullglob # if glob does not match, remove pattern, if no glob matches print error +setopt cshnullglob # if glob does not match, remove pattern, if no glob matches print error setopt numeric_glob_sort # sort numerically not lexically setopt noclobber # don't allow overwriting files with '>', use '>!' instead setopt notify @@ -57,6 +57,8 @@ hash -d UniMaas=~/dropbox/Documents/UniMaas export _gamedir=/mnt/Skaro/Games/Linux/HumbleBundle # ros -source /opt/ros/groovy/setup.zsh -export ROS_WORKSPACE=~/src/ros -export ROS_OS_OVERRIDE=arch +if [[ -f "/opt/ros/groovy/setup.zsh" ]]; then + source /opt/ros/groovy/setup.zsh + export ROS_WORKSPACE=~/src/ros + export ROS_OS_OVERRIDE=arch +fi