fix: HOME cleanup

This commit is contained in:
Tobias Reisinger 2019-12-26 13:52:34 +01:00
parent 5a76ba59fe
commit f016790d01
4 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -5,7 +5,7 @@ PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magent
# History in cache directory:
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.cache/zsh_history
HISTFILE=$HOME/.cache/zsh_history
# Basic auto/tab complete:
autoload -U compinit

View file

@ -1,5 +1,7 @@
export VIMINIT='source ~/.config/vimrc'
export PASSWORD_STORE_GENERATED_LENGTH='64'
# set PATH so it includes user's private bin if it exists
[ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH"