1
0
Fork 0

.bashrc: update

main
urosm 2024-06-12 00:46:44 +02:00
parent 29c3ba4f98
commit 701f51f2c0
1 changed files with 7 additions and 3 deletions

10
.bashrc
View File

@ -24,9 +24,6 @@ bind "set visible-stats on"
# prompt
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
PS1="\[\e]0;\u@\h:\w\a\]$PS1"
@ -39,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