mirror of
https://github.com/gunchev/home_bin.git
synced 2025-11-20 12:15:46 +00:00
Rearange the comments and add more links.
This is a script I am using 12 years now... wow!
This commit is contained in:
parent
b605c29b95
commit
b2ac0055b0
1 changed files with 21 additions and 21 deletions
|
|
@ -1,26 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# ps-twtty-7.sh - Nice bash prompt and history archiver
|
||||
# by Doncho Gunchev <dgunchev@gmail.com>, 2020-10-11 14:46 EET
|
||||
# Integrate better with vte.sh, just name this in a way to sort after it.
|
||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=1183192
|
||||
|
||||
# ps-twtty-7.sh - Nice bash prompt and history archiver
|
||||
# by Doncho Gunchev <dgunchev@gmail.com>, 2015-08-03 13:00 EET
|
||||
# Change the root prompt colors
|
||||
|
||||
# ps-twtty-7.sh - Nice bash prompt and history archiver
|
||||
# by Doncho N. Gunchev <dgunchev@gmail.com>, 2011-11-10 12:12 EET
|
||||
# fixed some variable quoting
|
||||
|
||||
# ps-twtty-7.sh - Nice bash prompt and history archiver
|
||||
# by Doncho N. Gunchev <dgunchev@gmail.com>, 2008-09-30 07:00 EEST
|
||||
|
||||
# BASED ON
|
||||
# termwide prompt with tty number and .bashrc_history.sh
|
||||
# by Giles, 1998-11-02 by Yaroslav Halchenko, 2005-03-10
|
||||
# .../Bash-Prompt-HOWTO/x869.html http://www.onerussian.com
|
||||
|
||||
# DESCRIPTION
|
||||
# An attempt to seese industrial... ops, I ment an attempt to make my
|
||||
# bash prompt nicer and save all my bash history ordered by date with
|
||||
|
|
@ -41,6 +20,27 @@
|
|||
# changes PROMPT_COMMAND, hurting the prompt quite bad and
|
||||
# killing the log.
|
||||
|
||||
# ps-twtty-7.sh - Nice bash prompt and history archiver
|
||||
# by Doncho Gunchev <dgunchev@gmail.com>, 2020-10-11 14:46 EET
|
||||
# Integrate better with vte.sh, just name this in a way to sort after it.
|
||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=1183192
|
||||
|
||||
# ps-twtty-7.sh - Nice bash prompt and history archiver
|
||||
# by Doncho Gunchev <dgunchev@gmail.com>, 2015-08-03 13:00 EET
|
||||
# Change the root prompt colors
|
||||
|
||||
# ps-twtty-7.sh - Nice bash prompt and history archiver
|
||||
# by Doncho N. Gunchev <dgunchev@gmail.com>, 2011-11-10 12:12 EET
|
||||
# fixed some variable quoting
|
||||
|
||||
# ps-twtty-7.sh - Nice bash prompt and history archiver
|
||||
# by Doncho N. Gunchev <dgunchev@gmail.com>, 2008-09-30 07:00 EEST
|
||||
|
||||
# BASED ON
|
||||
# termwide prompt with tty number by Giles, 1998-11-02, https://tldp.org/HOWTO/Bash-Prompt-HOWTO/x869.html
|
||||
# and
|
||||
# .bashrc_history.sh by Yaroslav Halchenko, 2005-03-10, http://www.onerussian.com, https://debian-administration.org/article/175/BASH_history_forever.
|
||||
|
||||
if [ "$PS1" ] ; then # interactive shell detection
|
||||
|
||||
function prompt_command_exit() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue