Closed dimo414 closed 5 years ago
Closing this and leaving these global declarations. Not positive if they're necessary for the last arguments or ret values, but I did consciously add it in https://github.com/rcaloras/bash-preexec/commit/7e75a3ea4ae41bfc92adce27cadebe25a194072d. I also don't think it's bad practice to have these declared during the outset of our script as they're namespaced and should be safe.
Added in 7e75a3ea and d056f7dc, it doesn't look like they've ever worked (or been used).
Also remove initial declarations for
__bp_inside_precmd
and__bp_inside_preexec
, which do not need to be globals.