shorten Environment#shell code a bit