Commit graph

16 commits

Author SHA1 Message Date
657cd5cf92 Add alias ip='ip --color=auto'. 2020-12-01 13:51:18 +02:00
674c7517dd Reformat, tabs to spaces.
Yeah, I thought tabs were a good idea, not any more, so…
2020-10-17 13:30:17 +03:00
d1d115a905 Improve security (chmod 0700 bash_history) 2020-10-17 13:23:08 +03:00
b2ac0055b0 Rearange the comments and add more links.
This is a script I am using 12 years now... wow!
2020-10-17 13:14:13 +03:00
b605c29b95 Use ellipsis '…' instead of 3 dots '...', …
also rearange some code and enable the COLUMNS workaround (if needed only)
2020-10-17 13:05:58 +03:00
9e91389b54 Speed up fill generation, preserve $? for others. 2020-10-17 13:04:11 +03:00
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
Doncho Gunchev
a84ef39ed8 Add AES encryption/decryption with openssl
The scripts are a bit insecure, safe for home use, see the TODO.
2014-12-16 20:11:12 +08:00
a721c1436e ps-twtty-7.sh: use $() instead of ``, update HISTIGNORE and HISTCONTROL. 2013-11-20 02:11:45 +02:00
Doncho N. Gunchev
50321ce414 Added my aliases file (see lll, it's cool!) 2011-12-03 02:29:33 +02:00
Doncho N. Gunchev
46e601f800 Added fancy logging bash prompt (ps-twtty-7.sh). 2011-12-03 02:18:52 +02:00