Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update for command history #223

Merged
merged 2 commits into from
Apr 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading