pawamoy / shell-history

Visualize your shell usage with Highcharts!
ISC License
112 stars 1 forks source link

Use PS0 instead of a trap on DEBUG? #29

Open pawamoy opened 5 years ago

pawamoy commented 5 years ago

The value of this parameter is expanded (see PROMPTING below) and displayed by interactive shells after reading a command and before the command is executed.

Cons: must run commands in a subshell, therefore unable to set variables. Must write in a file and then retrieve contents after execution.

Pros: not subject to debug printing.

Boost priority

Fund with Polar