fixed history

This commit is contained in:
Moritz Böhme 2021-07-30 11:48:42 +02:00
parent 54f769fccc
commit bbe24356bd

View file

@ -1,7 +1,7 @@
# Use powerline # Use powerline
USE_POWERLINE="true" USE_POWERLINE="true"
SAVEHIST=200 SAVEHIST=1000
HISTFILE=~/.zsh_history HISTFILE=$XDG_CONFIG_HOME/zsh/.zsh_history
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
cbonsai -lp -t 0.005 -m "Welcome back" cbonsai -lp -t 0.005 -m "Welcome back"
@ -14,10 +14,7 @@ if [ -d "$HOME/bin" ]; then
chmod u+x $HOME/bin/* chmod u+x $HOME/bin/*
fi fi
if [ -d "$HOME/.emacs.d/bin" ]; then export EMACSDIR="$XDG_CONFIG_HOME/emacs"
export PATH="$HOME/.emacs.d/bin:$PATH"
fi
if [ -d "$XDG_CONFIG_HOME/emacs/bin" ]; then if [ -d "$XDG_CONFIG_HOME/emacs/bin" ]; then
export PATH="$XDG_CONFIG_HOME/emacs/bin:$PATH" export PATH="$XDG_CONFIG_HOME/emacs/bin:$PATH"
fi fi
@ -35,7 +32,6 @@ alias cat='bat'
alias diff='diff --color=auto' alias diff='diff --color=auto'
alias grep='grep --color=auto' alias grep='grep --color=auto'
alias ip='ip -color=auto' alias ip='ip -color=auto'
alias emacs='emacs -nw'
eval $(thefuck --alias) eval $(thefuck --alias)
eval "$(LC_ALL="en_US.UTF-8" starship init zsh)" eval "$(LC_ALL="en_US.UTF-8" starship init zsh)"