1
0
Fork 0

update `.bashrc`

padova
urosm 2024-06-11 23:10:04 +00:00
parent 0abb6e1a2b
commit c8bb97c866
1 changed files with 8 additions and 1 deletions

View File

@ -5,7 +5,7 @@
# readline
bind "set editing-mode vi"
bind "set keyseq-timeout 50"
bind "set keyseq-timeout 0"
bind "set show-mode-in-prompt on"
bind "set vi-ins-mode-string \1\e[01;35m\2+\1\e[0m\2"
bind "set vi-cmd-mode-string :"
@ -36,6 +36,13 @@ alias ls="ls --color=auto"
alias ll="ls -AF1"
alias lll="ls -AFlh"
# history
shopt -u histappend
HISTSIZE=-1
HISTFILESIZE=-1
HISTIGNORE='exit:q:ls:ll:lll'
HISTCONTROL='ignoreboth:erasedups'
# bash completion
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then