From f7953242b8e7f39831dcb597bacaea0254a4c3cc Mon Sep 17 00:00:00 2001 From: Jens Luedicke Date: Tue, 23 Sep 2025 07:50:33 +0200 Subject: [PATCH 1/2] Fix issue with symlink dir --- rcrc | 2 +- zsh/zshrc => zshrc | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename zsh/zshrc => zshrc (100%) diff --git a/rcrc b/rcrc index 3e68853..a6e352d 100644 --- a/rcrc +++ b/rcrc @@ -1,3 +1,3 @@ EXCLUDES="README.md LICENSE .git .gitignore" DOTFILES_DIRS="$HOME/.dotfiles" -SYMLINK_DIRS="zsh bash shell-common" \ No newline at end of file +SYMLINK_DIRS="bash shell-common" \ No newline at end of file diff --git a/zsh/zshrc b/zshrc similarity index 100% rename from zsh/zshrc rename to zshrc From fa523f580c23203ca571aee1658189c273064913 Mon Sep 17 00:00:00 2001 From: Jens Luedicke Date: Thu, 25 Sep 2025 13:05:05 +0200 Subject: [PATCH 2/2] Keep zsh history --- zsh/zshrc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index 9fa8424..510c5fa 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,6 +1,17 @@ #!/bin/zsh # Zsh configuration file +# History configuration for persistent history across tmux sessions +export HISTFILE="$HOME/.zsh_history" +export HISTSIZE=50000 +export SAVEHIST=50000 +setopt SHARE_HISTORY # Share history between all sessions +setopt HIST_IGNORE_ALL_DUPS # Remove older duplicate entries from history +setopt HIST_FIND_NO_DUPS # Don't display duplicates when searching history +setopt HIST_REDUCE_BLANKS # Remove superfluous blanks from history items +setopt INC_APPEND_HISTORY # Write to history file immediately, not when shell exits +setopt HIST_VERIFY # Don't execute immediately upon history expansion + # Source common profile [ -f "$HOME/.shell-common/profile.common" ] && source "$HOME/.shell-common/profile.common"