update `.bashrc`
parent
d7d09131fe
commit
03c4bcd1c6
7
.bashrc
7
.bashrc
|
@ -3,12 +3,6 @@
|
|||
# if not running interactively, don't do anything
|
||||
[ -z "$PS1" ] && return
|
||||
|
||||
# history
|
||||
export HISTCONTROL=ignoredups:erasedups
|
||||
export HISTSIZE=-1
|
||||
export HISTFILESIZE=-1
|
||||
PROMPT_COMMAND="history -a;history -n;$PROMPT_COMMAND"
|
||||
|
||||
# title
|
||||
PS1="\[\e]0;\u@\h:\w\a\]$PS1"
|
||||
|
||||
|
@ -34,6 +28,7 @@ bind "set visible-stats on"
|
|||
# alias
|
||||
alias q="exit"
|
||||
alias e='${EDITOR:-vi}'
|
||||
alias diff="diff --color=auto"
|
||||
alias grep="grep --color=auto"
|
||||
alias ls="ls --color=auto"
|
||||
alias ll="ls -AF1"
|
||||
|
|
Loading…
Reference in New Issue