aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorBlista Kanjo2024-06-23 20:00:31 -0400
committerBlista Kanjo2024-06-23 20:00:31 -0400
commitf57920639704643c65ee34b31c7c2c5c137fa997 (patch)
treeb8c1ea8f3bc746ddbb084dd1ce0c3ba73be6acf8 /.config
parente79d00260207ec58a45c40ad4ccf0f0f48958796 (diff)
feat: few helper lines for new set-ups
Diffstat (limited to '.config')
-rw-r--r--.config/shell/.zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/shell/.zshrc b/.config/shell/.zshrc
index c34a86a..ad17190 100644
--- a/.config/shell/.zshrc
+++ b/.config/shell/.zshrc
@@ -6,6 +6,8 @@ source ~/.config/shell/zsh-fast-syntax-highlighting/fast-syntax-highlighting.plu
source ~/.config/shell/zsh-history-substring-search/zsh-history-substring-search.zsh
# source ~/.config/shell/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
+[ ! -d ~/.local/state/shell ] && mkdir -p ~/.local/state/shell
+[ ! -f ~/.local/state/shell/zsh_history ] && touch ~/.local/state/shell/zsh_history
# configure history settings
HISTFILE=~/.local/state/shell/zsh_history