vpn service aund bashrc
This commit is contained in:
1 parent
d34cd72f7a
commit
a844fa9609
2 files changed
+22
No files matched your search
@@ -0,0 +1,22 @@
|
||||
if [ -f /home/lucas/scripts/profile_motd1.sh ]; then
|
||||
bash /home/lucas/scripts/profile_motd1.sh
|
||||
fi
|
||||
# Eternal Bash history.
|
||||
# ---------------------
|
||||
# Undocumented feature which sets the size to "unlimited".
|
||||
# <https://stackoverflow.com/questions/9457233>
|
||||
# Unlimited Bash history
|
||||
#
|
||||
export HISTFILESIZE=
|
||||
export HISTSIZE=
|
||||
export HISTTIMEFORMAT="[%F %T] "
|
||||
# Change the file location, because certain Bash sessions truncate .bash_history file upon close.
|
||||
# <https://superuser.com/questions/575479>
|
||||
# Bash history truncated to 500 lines on each login
|
||||
#
|
||||
export HISTFILE=~/.bash_eternal_history
|
||||
# Force prompt to write history after every command.
|
||||
# <https://superuser.com/questions/20900/bash-history-loss>
|
||||
# Bash history loss when using histappend
|
||||
#
|
||||
PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
|
||||
File renamed without changes.
Reference in new issue
Block a user