dundalek / closh

Bash-like shell based on Clojure
Eclipse Public License 1.0
1.61k stars 65 forks source link

Special modes for debugging (set -e, set -x) #135

Open dundalek opened 5 years ago

dundalek commented 5 years ago

Consider if we want to support:

set -e Exit immediately if a command exits with a non-zero status.

set -x Enables a mode of the shell where all executed commands are printed to the terminal.