This commit is contained in:
2022-12-11 13:37:51 +00:00
parent 4332cf4362
commit 0690f7decc
5 changed files with 22 additions and 39 deletions

View File

@@ -16,8 +16,8 @@ HISTCONTROL=ignoreboth
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
HISTSIZE=100000
HISTFILESIZE=200000
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
@@ -288,3 +288,6 @@ alias apt="sudo apt"
export PS1='\e[0;35m\t \e[0;32m\u@\h:\w\e[m\n\$ '
figlet `hostname`
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'