2024-03-19 23:02:50 +01:00
|
|
|
# Prompt Style
|
|
|
|
if [ "$PS1" ]; then
|
|
|
|
PS1="\[\033[01;32m\][\u@\h:\l \[\033[01;34m\]\W\[\033[00m\]]\\$ "
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Timestamps and instant apply
|
|
|
|
HISTTIMEFORMAT="%F %T "
|
|
|
|
PROMPT_COMMAND="history -a;$PROMPT_COMMAND"
|
|
|
|
|
|
|
|
# History Size
|
|
|
|
HISTFILESIZE=
|
2024-11-05 03:36:15 +01:00
|
|
|
HISTSIZE=
|
|
|
|
|
|
|
|
# Enable vi mode
|
|
|
|
set -o vi
|