Commit graph

8 commits

Author SHA1 Message Date
54ccd1efb9 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 $?.
2020-10-17 12:46:52 +03:00
7b1df87def Describe the changes in the script itself too. 2020-10-11 14:48:14 +03:00
a1b1f0a3df 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)
2020-10-11 14:26:42 +03:00
4f72457927 Add a possible $COLUMNS not set workaround as comment 2020-10-11 14:21:07 +03:00
Doncho Gunchev
078f98413b Change terminal prompt color to green. 2015-10-21 22:22:12 +03:00
Doncho Gunchev
62f9687de6 Change the root prompt colors. 2015-08-03 13:08:44 +03:00
a721c1436e ps-twtty-7.sh: use $() instead of ``, update HISTIGNORE and HISTCONTROL. 2013-11-20 02:11:45 +02:00
Doncho N. Gunchev
46e601f800 Added fancy logging bash prompt (ps-twtty-7.sh). 2011-12-03 02:18:52 +02:00