Sunday, June 3, 2018

Re: Bash in :shell vs :terminal

Hi Jason,

You can set `set shell=/bin/bash\ --rcfile=$HOME/.vim_bashrc` and set the environment variable there (and source your ~/.bashrc file as well).

Best regards,
Marcin Szamotulski


​Sent with ProtonMail Secure Email.​

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On May 30, 2018 4:06 PM, Jason Franklin <jrfranklin@georgiasouthern.edu> wrote:

> I am aware of "test -t", but I don't see how it helps here.
>
> I want the prompt to adjust based on whether I'm using :term or :sh. So,
>
> the method needs to work in interactive shell sessions.
>
> -- JF
>
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> --
>
> You received this message from the "vim_use" maillist.
>
> Do not top-post! Type your reply below the text you are replying to.
>
> For more information, visit http://www.vim.org/maillist.php
>
>
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> You received this message because you are subscribed to the Google Groups "vim_use" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: