pwncollege / linux-luminarium

BSD 2-Clause "Simplified" License
16 stars 18 forks source link

Ensure control of PROMPT_COMMAND #6

Closed zardus closed 5 months ago

zardus commented 6 months ago

Some users customize their PROMPT_COMMAND. We need to make sure we keep injecting our hooks into it.

zardus commented 5 months ago

On second thought: if people customize PROMPT_COMMAND, they don't need this dojo.

The real issue is vscode overwriting the debug trap. I handle this now by re-hooking debug in PROMPT_COMMAND (vscode wraps, but does not override PROMPT_COMMAND).