]> git.ipfire.org Git - thirdparty/systemd.git/commit
profile: replace default bash prompt with more informative one
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 6 Aug 2025 05:49:43 +0000 (14:49 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 6 Aug 2025 13:24:19 +0000 (14:24 +0100)
commit0dc0bf4caf267c49be3d574ba9d10a43bebc7465
tree2d56081cfc5eb92a5c50414c2fc496fb0e716543
parentea2beb6591d418a32516dffaf7c3b77444deda25
profile: replace default bash prompt with more informative one

The default bash PS1 provides mostly no information.
Let's replace it.

Before:
```
[watanabe@thinkpad-x280:~] $ run0
🦸 bash-5.2# echo $PS1
🦸 \s-\v\$
```

After:
```
[watanabe@thinkpad-x280:~] $ run0
🦸 [root@thinkpad-x280 watanabe]# echo $PS1
🦸 [\u@\h \W]\$
```

Fixes #38494.
profile.d/70-systemd-shell-extra.sh