Skip to content

Commit

Permalink
Escape the worktop after running the nested command
Browse files Browse the repository at this point in the history
  • Loading branch information
halorgium committed Sep 28, 2010
1 parent 797fb9d commit d340460
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions worktop.sh
Expand Up @@ -141,6 +141,9 @@ worktop() {

if [ -n "${1:-""}" ]; then
$@
result=$?
__worktop_uncd
return $result
else
echo "Changing to worktop [${name}]" >&2
return $?
Expand Down

0 comments on commit d340460

Please sign in to comment.