2 ms·
Can bash do this? I wonder what issue I have yet to think of prevents pop/pushing escape sequences from being default behavior.
by EthanHeilman 4y ago
Can bash do this? I wonder what issue I have yet to think of prevents pop/pushing escape sequences from being default behavior.
- kps 4y agoI think with most current shells you could do this in prompt strings. Actually, you'd probably want a combo that restores the top-of-stack state and leaves it there; then you'd push the state during shell initialization and restore it in the prompt.