1
0
Fork 0

update `.bashrc`

urosm 2024-02-11 10:26:23 +01:00
parent d7d09131fe
commit 03c4bcd1c6
1 changed files with 1 additions and 6 deletions

View File

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