edkolev / promptline.vim

Generate a fast shell prompt with powerline symbols and airline colors
MIT License
625 stars 54 forks source link

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

Open pmuller opened 8 years ago

pmuller commented 8 years ago

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 !