From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Bash, PS1, alias and how it works now.
Date: Thu, 20 Jun 2024 21:02:06 -0500 [thread overview]
Message-ID: <e5d58461-676b-9bcc-90d2-d1f6a524b0ea@gmail.com> (raw)
Howdy,
On my new rig, I'm trying to set up the PS1 and alias variables. I
found the bash page on the Gentoo wiki but it seems to detail doing it
for each user in their home directories. Since I'm the only one using
this rig, I prefer to set it globally and have the commands behave the
same way no matter who I am, root or dale. On my main rig still, I do
this in /etc/bash/bashrc. It works just fine. On the new rig tho, it
has a directory and things are broken up into different files for
different things. Basically, the method has changed. It likely works
better this way. Each package can have its own file. The wiki isn't
helping since these files appear to be like scripts. I'm clueless on
scripts. My one attempt to do it broke the whole thing. I had to
emerge bash again with the config option to get the files back right.
Is there a example file that gives a clueless scripts person a head
start? I'd like to have it set the PS1 for root and user and have a
alias section for several commands that applies to root and users. If
there is a command to manage this sort of thing, I'm open to that too.
I just want to set the PS1 and alias without breaking bash, or anything
else.
Also, I think the CPU thermal paste stuff has settled in a bit on the
new rig. The temps have came down a little bit. Also, I found out that
CPUTIN is a sensor that is likely placed similar to my older FX series
CPU is. The new rig does run cooler if that is true. It should. CPU
cooler is plenty large enough.
Thanks for any help on the PS1 and bash settings.
Dale
:-) :-)
P. S. Still trying to get around to pics and stuff. Fixed well pump,
broke again. Fixed it again. Working so far. My back, not so much. :/
next reply other threads:[~2024-06-21 2:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-21 2:02 Dale [this message]
2024-06-25 6:20 ` [gentoo-user] Bash, PS1, alias and how it works now Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e5d58461-676b-9bcc-90d2-d1f6a524b0ea@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox