Skip to content

Commit

Permalink
Merge pull request #692 from ros/zsh_remove_emulate
Browse files Browse the repository at this point in the history
remove 'emulate sh' from setup.zsh
  • Loading branch information
dirk-thomas committed Oct 22, 2014
2 parents 23a2aa4 + 1d326d4 commit dbb33f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/templates/setup.zsh.in
Expand Up @@ -2,7 +2,7 @@
# generated from catkin/cmake/templates/setup.zsh.in

CATKIN_SHELL=zsh

# source setup.sh from same directory as this file
_CATKIN_SETUP_DIR=$(builtin cd -q "`dirname "$0"`" > /dev/null && pwd)
emulate sh # emulate POSIX
. "$_CATKIN_SETUP_DIR/setup.sh"
emulate zsh # back to zsh mode
source "$_CATKIN_SETUP_DIR/setup.sh"

0 comments on commit dbb33f1

Please sign in to comment.