help-bash
[Top][All Lists]
Advanced

[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:49:18 +0200

well in the end ( now ) i symlinked /etc/shell-rc to
/root/.{bashrc,profile} and it started to work on x...
so i dunno, reexplain, the wms have modified static --rc-file and such ?

On Mon, Jul 26, 2021 at 8:45 PM Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> wrote:
>
> and about the place for things i can try to start to discuss with you
> but you wont want it
>
> this bashlink links filenames from paths to bash code via gawk does the code
> there are the place for the files, inside separate project tree's,
> like resource forks
>
> ..
>
> On Mon, Jul 26, 2021 at 8:44 PM Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> 
> wrote:
> >
> > i also had an issue with this on the server, when updating to this,
> > but its a different one
> > its some doesnt-support-symlinks in-early-runtime bug
> >
> > i have bashlink4/ right, then i did like here ln -s bashlink4 4 (
> > /root/4 , on the server, .. ) but on login it said i dunno it didnt
> > load at least, then i cp'd it over to 4/ instead of symlink and it
> > worked, .. server via ssh
> >
> > On Mon, Jul 26, 2021 at 8:42 PM Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> 
> > wrote:
> > >
> > > 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.
> > > >



reply via email to

[Prev in Thread] Current Thread [Next in Thread]