Skip to content

Commit 44c9836

Browse files
committed
Ignore jrnl in zsh history
1 parent ea04b46 commit 44c9836

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tmux/.tmux.conf

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ set -s escape-time 0
5353
# Copy-mode
5454
set-window-option -g mode-keys vi
5555

56+
set-option -g focus-events on
57+
5658
# -------------------------------------------------------------------
5759
# Key bindings
5860
# -------------------------------------------------------------------

zsh/.zshrc

+4
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,8 @@ source $HOME/.dotfiles/zsh/private.zsh
140140
# open files
141141
ulimit -n 10000
142142

143+
# do not write jrnl entries to history
144+
setopt HIST_IGNORE_SPACE
145+
alias jrnl=" jrnl"
146+
143147
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

0 commit comments

Comments
 (0)