Skip to content

Commit

Permalink
update for command history
Browse files Browse the repository at this point in the history
  • Loading branch information
shunk031 committed Mar 4, 2024
1 parent 3eae36f commit 70c3bfb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions home/dot_local/bin/server/history.zsh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/usr/bin/env zsh

setopt share_history
setopt append_history
setopt inc_append_history
setopt hist_no_store
setopt hist_ignore_all_dups
setopt hist_ignore_dups

export HISTFILE=${HISTFILE:-$HOME}/.zsh_history
export HISTSIZE=10000
Expand Down
3 changes: 3 additions & 0 deletions home/dot_tmux.conf.d/system/server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ set-window-option -g mouse on

# for 256 colors terminal
set -g default-terminal "screen-256color"

# for adding/loading the history
set -g history-file ~/.zsh_history

0 comments on commit 70c3bfb

Please sign in to comment.