fix: HOME cleanup
This commit is contained in:
parent
5a76ba59fe
commit
f016790d01
4 changed files with 5 additions and 5 deletions
6
.bashrc
6
.bashrc
|
@ -5,6 +5,7 @@
|
|||
|
||||
# ignoredups and ignorespace
|
||||
HISTCONTROL=ignoreboth
|
||||
HISTFILE=$HOME/.cache/bash_history
|
||||
|
||||
# append to the history file, don't overwrite it
|
||||
shopt -s histappend
|
||||
|
@ -13,9 +14,7 @@ shopt -s histappend
|
|||
# update the values of LINES and COLUMNS.
|
||||
shopt -s checkwinsize
|
||||
|
||||
if [ -f ~/.bash_colours ]; then
|
||||
source ~/.bash_colours
|
||||
fi
|
||||
[ -f $HOME/.config/bash/colours ] && source $HOME/.config/bash/colours
|
||||
|
||||
PS1="$PURPLE\u$nc@$BLUE\H$nc:$GREEN\w$YELLOW"'$(__git_ps1)'"$nc\\n$GREEN\$$nc "
|
||||
|
||||
|
@ -27,5 +26,4 @@ else
|
|||
function __git_ps1() { echo ""; };
|
||||
fi
|
||||
|
||||
[ -f $HOME/.bashrc.local ] && source $HOME/.bashrc.local
|
||||
[ -f $HOME/.profile ] && source $HOME/.profile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue