Commit graph

14 commits

Author SHA1 Message Date
704ebf38fd
Make sure this runs after vte.sh 2024-02-13 17:37:53 +02:00
95624ff380
Reformat, tabs to spaces.
Yeah, I thought tabs were a good idea, not any more, so…
2024-02-13 17:37:52 +02:00
b4be4eb99e
Improve security (chmod 0700 bash_history) 2024-02-13 17:37:52 +02:00
77ff017304
Rearange the comments and add more links.
This is a script I am using 12 years now... wow!
2024-02-13 17:37:52 +02:00
20c45739b3
Use ellipsis '…' instead of 3 dots '...', …
also rearange some code and enable the COLUMNS workaround (if needed only)
2024-02-13 17:37:52 +02:00
bd78d4a76a
Speed up fill generation, preserve $? for others. 2024-02-13 17:37:52 +02:00
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