Hey sorry, @mislav! I guess somehow between being sleep-deprived, and trying to work on 2 complex (and related!) things at the same time, I got confused. My bad! It turns out that u really only need to protect **one** call to `rbenv-version-origin`, and that's in `rbenv-version`. I'm trying to do something better than wrapping the call between 2 `set`s:

So eg. right now, this would work (but I'm not exactly liking it):
```
  1 #!/usr/bin/env bash
  2 # Summary: Show the current Ruby version and its origin
  3 #
  4 # Shows the currently selected Ruby version and how it was
  5 # selected. To obtain only the version string, use `rbenv
  6 # version-name'.
  7 
  8 set -e
  9 [ -n "$RBENV_DEBUG" ] && set -x
 10 
 11 set +e
 12 version_origin=$(rbenv-version-origin)
 13 set -e
 14 if [[ -z $version_origin ]]; then
 15   echo "$(rbenv-version-name)"' (set the global version with: `rbenv global VERSION`)'
 16 else
 17   echo "$(rbenv-version-name) (set by $version_origin)"
 18 fi
```

Hang on, and I'll try to improve on this....