[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: some profile bashrc urxvt issue..
From: |
Alex fxmbsw7 Ratchev |
Subject: |
Re: some profile bashrc urxvt issue.. |
Date: |
Mon, 26 Jul 2021 20:42:35 +0200 |
as far i understood, in /etc, .profile gets 1. sourced as login shell
then if its again spawned its 2. the bash.bashrc
so i liked both to this shell-rc, for the $i check
i use wmaker, for windows, simple, not much bloat, much outdated old
i start urxvt by -bg black -fg white
so do you say
those bashes in those xterms, they never did read the /etc's ?
cause yea the term doesnt look also, also doesnt include the +kw
function for example
why bla :p
oh thats why i need to link shell-rc to /root/ {the two files} ? i
dont remember missing the my-prompt on windows but this new $i and no
files in ~/ for /etc only seems as you see to fail
..
On Mon, Jul 26, 2021 at 8:38 PM Greg Wooledge <greg@wooledge.org> wrote:
>
> On Mon, Jul 26, 2021 at 08:26:44PM +0200, Alex fxmbsw7 Ratchev wrote:
> > on console login it works fine, ps1 gets set
> >
> > but when i started x.org i noticed the default bash-5.1# prompt ( am root )
>
> Logins through a Display Manager (lightdm, gdm3, xdm, etc.) generally
> do not run a login shell at any point in their entire lifespan.
>
> If you require special things to be done at login, and you sometimes
> login with a GUI, then you will need to ask your operating system support
> channel/list how to proceed. There's no answer that works for all login
> methods on all operating systems.
>
> However, it sounds more like you only want to customize the prompt of
> an interactive shell. The correct place to do that is in the shell's
> initialization file, which for bash is ~/.bashrc . Don't try to do it
> at login.
>
- some profile bashrc urxvt issue.., Alex fxmbsw7 Ratchev, 2021/07/26
- Re: some profile bashrc urxvt issue.., Greg Wooledge, 2021/07/26
- Re: some profile bashrc urxvt issue..,
Alex fxmbsw7 Ratchev <=
- Re: some profile bashrc urxvt issue.., Greg Wooledge, 2021/07/26
- Re: some profile bashrc urxvt issue.., Alex fxmbsw7 Ratchev, 2021/07/26
- Re: some profile bashrc urxvt issue.., Alex fxmbsw7 Ratchev, 2021/07/26
- Re: some profile bashrc urxvt issue.., Alex fxmbsw7 Ratchev, 2021/07/26
- Re: some profile bashrc urxvt issue.., Greg Wooledge, 2021/07/26
- Re: some profile bashrc urxvt issue.., Alex fxmbsw7 Ratchev, 2021/07/26
- Re: some profile bashrc urxvt issue.., Greg Wooledge, 2021/07/26