Update zsh history settings

This commit is contained in:
Alex Selimov 2025-09-24 10:02:58 -04:00
parent 0b3239e632
commit f80c549a2d
No known key found for this signature in database
GPG key ID: BC03C17FF5CFFFD2

View file

@ -8,7 +8,7 @@ SAVEHIST=100000
setopt extendedglob notify setopt extendedglob notify
unsetopt autocd beep unsetopt autocd beep
setopt INC_APPEND_HISTORY # Write to history file immediately, not when shell exits setopt INC_APPEND_HISTORY # Write to history file immediately, not when shell exits
setopt SHARE_HISTORY # Share history between all sessions setopt APPEND_HISTORY # Append instead of overwriting the file
setopt HIST_IGNORE_DUPS # Don't save duplicate commands setopt HIST_IGNORE_DUPS # Don't save duplicate commands
setopt HIST_IGNORE_SPACE # Don't save commands starting with space setopt HIST_IGNORE_SPACE # Don't save commands starting with space
@ -198,7 +198,7 @@ bindkey '^[[B' history-substring-search-down
#============================================================================== #==============================================================================
if [ "$(uname)" = "Darwin" ]; then if [ "$(uname)" = "Darwin" ]; then
export PATH="$PATH:/opt/homebrew/bin" export PATH="/opt/homebrew/bin:$PATH"
alias ls="gls --classify --group-directories-first --color" alias ls="gls --classify --group-directories-first --color"
GEMINI_BIN=$(which gemini) GEMINI_BIN=$(which gemini)
function gemini(){ function gemini(){