aboutsummaryrefslogtreecommitdiff
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
authorCaleb Noelke <cjn075@firemail.cc>2024-10-21 12:54:52 -0400
committerCaleb Noelke <cjn075@firemail.cc>2024-10-21 12:54:52 -0400
commitfe96c467eec5d66864dde93b4b5186524e258fd1 (patch)
treef9c7550e03241bb087ade674b459667b1f63ae9a /.config/zsh/.zshrc
parent398886b6d4631bb1e695bf7851f1012c64f6895a (diff)
parent628ed4dc995f3c09e33c24a01c817c18b1a268af (diff)
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r--.config/zsh/.zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index c46f51d..ff7d4ae 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -11,9 +11,11 @@ setopt interactive_comments
HISTSIZE=10000000
SAVEHIST=10000000
HISTFILE="${XDG_CACHE_HOME:-$HOME/.cache}/zsh/history"
+setopt inc_append_history
# Load aliases and shortcuts if existent.
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc"
+[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutenvrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutenvrc"
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc"
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc"