Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to spawn a shell with a clean prompt from a promptline-enabled shell ? #46

Open
pmuller opened this issue Dec 8, 2015 · 0 comments

Comments

@pmuller
Copy link

pmuller commented Dec 8, 2015

Hello,

I love promptline most of the time, but when I want to document what I just did in my shell, I have to manually clean my buffer log to remove the left and right prompts.

I'd like to switch to a simple "$ " prompt when doing something I want to document, then switch back to the promptline prompt once I'm done. I don't care spawning a custom shell for the operation.

My main issue is that my login shell loads promptline, so if I spawn a new shell, I always inherits from the prompt defined in the parent shell.

How can I switch easily between promptline and a simple prompt ?

Thanks for your help !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant