Commit graph

8 commits

Author SHA1 Message Date
f411c5a2fe
Don't add our prompt_command twice, also prepend
During testing if you source it twice you get
that problem now.

The error code formatting/logging gets broken if
we run prompt_command after other stuff. Running
anything external obviously resets $?.
2024-02-13 17:37:52 +02:00
48c8be564f
Describe the changes in the script itself too. 2024-02-13 17:37:52 +02:00
751df61c6e
Preserve PROMPT_COMMAND if set, name this z-smth in profile.d
vte.sh from vte291 coexistence

See https://bugzilla.redhat.com/show_bug.cgi?id=1183192

In oreder work this script should be sourced after vte.sh, so
the name should be something that sorts after vte.sh (z-ps-twtty-7.sh)
2024-02-13 17:37:52 +02:00
8b977b8f73
Add a possible $COLUMNS not set workaround as comment 2024-02-13 17:37:52 +02:00
Doncho Gunchev
546129bed1
Change terminal prompt color to green. 2024-02-13 17:37:52 +02:00
Doncho Gunchev
8462b78a12
Change the root prompt colors. 2024-02-13 17:37:52 +02:00
fa7cd012a8
ps-twtty-7.sh: use $() instead of ``, update HISTIGNORE and HISTCONTROL. 2024-02-13 17:37:52 +02:00
Doncho N. Gunchev
f2c478a632
Added fancy logging bash prompt (ps-twtty-7.sh). 2024-02-13 17:37:49 +02:00