Fix HISTFILE bootstrap
This commit is contained in:
parent
239f0c60ae
commit
f907128446
|
@ -52,7 +52,6 @@ test "$hasService" && sudo service rsyslog restart || sudo systemctl restart rsy
|
|||
test "$hasService" && sudo service cron reload || sudo systemctl reload cronie
|
||||
|
||||
highlight "Zsh"
|
||||
mkdir -p $XDG_STATE_HOME
|
||||
test -n "$ZSH" || export ZSH="${XDG_DATA_HOME:-$HOME/.local/share}/zsh/oh-my-zsh"
|
||||
cloneshallow() {
|
||||
url=https://github.com/$2/$1.git
|
||||
|
|
|
@ -58,6 +58,7 @@ export ZSH="$XDG_DATA_HOME/zsh/oh-my-zsh"
|
|||
export HISTFILE="$XDG_STATE_HOME/zsh/history"
|
||||
export CONFIG_ZSH="$XDG_CONFIG_HOME/zsh"
|
||||
export CONFIG_SHELLS="$XDG_CONFIG_HOME/shell"
|
||||
mkdir -p $XDG_STATE_HOME/zsh
|
||||
|
||||
# environment
|
||||
which nvim >/dev/null && export EDITOR='nvim' || export EDITOR='vim'
|
||||
|
|
Loading…
Reference in New Issue