From 5a97a0fb5d1ae32becb68805c50a5229f3992d99 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 27 Nov 2014 17:03:45 +0000 Subject: [PATCH] zsh: .ros goes to XDG_CACHE_HOME --- zsh/functions/rosinit | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/functions/rosinit b/zsh/functions/rosinit index 4b297d8..ac985a8 100644 --- a/zsh/functions/rosinit +++ b/zsh/functions/rosinit @@ -16,6 +16,9 @@ function rosinit() { source /opt/ros/$ROS_DISTRO/setup.zsh source $WORKSPACE/devel/setup.zsh export ROS_WORKSPACE=$WORKSPACE + export ROS_HOME=$XDG_CACHE_HOME/ros + export ROS_LOG_DIR=$XDG_CACHE_HOME/ros/log + # export ROS_TEST_RESULTS_DIR=$HOME/.ros roscd else echo "ROS $ROS_DISTRO doesn't seem to be installed." >&2 -- 2.48.1