.bashrc: update
parent
29c3ba4f98
commit
701f51f2c0
10
.bashrc
10
.bashrc
|
@ -24,9 +24,6 @@ bind "set visible-stats on"
|
||||||
|
|
||||||
# prompt
|
# prompt
|
||||||
PS1="\[\e[1m\]\u@\h\[\e[0m\]:\[\e[1;34m\]\w\[\e[0m\]\[\e[1m\]\$\[\e[0m\] "
|
PS1="\[\e[1m\]\u@\h\[\e[0m\]:\[\e[1;34m\]\w\[\e[0m\]\[\e[1m\]\$\[\e[0m\] "
|
||||||
if [ -z $TERMUX_VERSION ]; then
|
|
||||||
PS1="\[\e[1m\]urosm@trento\[\e[0m\]:\[\e[1;34m\]\w\[\e[0m\]\[\e[1m\]\$\[\e[0m\] "
|
|
||||||
fi
|
|
||||||
|
|
||||||
# title
|
# title
|
||||||
PS1="\[\e]0;\u@\h:\w\a\]$PS1"
|
PS1="\[\e]0;\u@\h:\w\a\]$PS1"
|
||||||
|
@ -39,6 +36,13 @@ alias ls="ls --color=auto"
|
||||||
alias ll="ls -AF1"
|
alias ll="ls -AF1"
|
||||||
alias lll="ls -AFlh"
|
alias lll="ls -AFlh"
|
||||||
|
|
||||||
|
# history
|
||||||
|
shopt -u histappend
|
||||||
|
HISTSIZE=-1
|
||||||
|
HISTFILESIZE=-1
|
||||||
|
HISTIGNORE='exit:q:ls:ll:lll'
|
||||||
|
HISTCONTROL='ignoreboth:erasedups'
|
||||||
|
|
||||||
# bash completion
|
# bash completion
|
||||||
if ! shopt -oq posix; then
|
if ! shopt -oq posix; then
|
||||||
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||||
|
|
Loading…
Reference in New Issue