pawamoy / shell-history

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

fix: Fix trap on DEBUG not being removed when calling shellhistory disable #31

Closed pawamoy closed 5 years ago

pawamoy commented 5 years ago

The reason it was not removed is because running trap - DEBUG in a function seems to only affect the traps in the scope of this function.

Fixes issue #30