echo ZDT:$ZDOTDIR HOME:/home/scott
ZDT:/home/scott/.config/zsh HOME:/home/scott

ps
   PID  TTY                   TIME  CMD
27745 pts/0          00:00:00  zsh
27673 pts/0          00:00:00  ps

exec zsh -i
[scott@hostname]$   --Not my chosen prompt.


On Wed, Dec 9, 2020 at 3:33 PM Daniel Eggleston <[email protected]> wrote:

> What's the behavior of these, from the "bad" prompt?
>
> $ echo ZDT:$ZDOTDIR HOME:$HOME
> $ ps
> $ exec zsh -i
>
> ZDOTDIR controls where it loads zshrc from. If that's empty, it'll fall
> back to $HOME. If both are empty, that might cause weirdness.
>
> From the [user@host] prompt, if you 'exec zsh -i' and get your prompt, it
> says the shell was either not zsh, or it was not invoked as an interactive
> shell (ps will tell you which case that is).
>
> On Wednesday, December 9, 2020 at 12:23:53 PM UTC-6 [email protected]
> wrote:
>
>> I am running Artix (http://artixlinux.org) and have zsh and
>> oh-my-zsh-git as my shell.  The prompt I'm specifying doesn't come up when
>> I open termite.  Instead there is a '[user@host]' prompt that appears.
>> When I 'source .zshrc', vim opens.  When I exit vim, then the prompt I
>> specified in .zshrc comes up.  Best case scenario I would like to have the
>> specified prompt open when I open my shell.  Failing that, figuring out why
>> the source command opens vim and fixing it would suffice.  Any ideas???
>> --
>> <><  Scott Vargovich  <><
>> ------------------------------------------
>> OpenPGP Key ID: 29C36884
>> ==========================
>> Ham Radio Call Sign: KE8CQC
>> ==========================
>> GMRS Call Sign:  WQXJ287
>> ------------------------------------------
>>
> --
> --
> You received this message because you are subscribed to the Linux Users
> Group.
> To post a message, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit our group at
> http://groups.google.com/group/linuxusersgroup
> References can be found at: http://goo.gl/anqri
> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
> ---
> You received this message because you are subscribed to the Google Groups
> "Linux Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/linuxusersgroup/089edcab-ed72-4fdf-8b10-590c8a5b6393n%40googlegroups.com
> <https://groups.google.com/d/msgid/linuxusersgroup/089edcab-ed72-4fdf-8b10-590c8a5b6393n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
<><  Scott Vargovich  <><
------------------------------------------
OpenPGP Key ID: 29C36884
==========================
Ham Radio Call Sign: KE8CQC
==========================
GMRS Call Sign:  WQXJ287
------------------------------------------

-- 
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
--- 
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/linuxusersgroup/CAE8T3AKHromERSpdA_W73i6T3s89r8VFZB6e6N-3qmhXKtcG%2Bw%40mail.gmail.com.

Reply via email to