From f9071284466b22cc0eed606cb76baec59f7c3b43 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Thu, 2 Dec 2021 23:37:54 +0100 Subject: [PATCH] Fix HISTFILE bootstrap --- .config/yadm/bootstrap | 1 - .zprofile | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 961d74d..960d5ba 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -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 diff --git a/.zprofile b/.zprofile index 5feee8d..d50480d 100644 --- a/.zprofile +++ b/.zprofile @@ -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'