Skip to content

Commit

Permalink
Add histappend to cSpell.words in workspace settings
Browse files Browse the repository at this point in the history
  • Loading branch information
hironow committed Dec 4, 2024
1 parent 685e55f commit b7915bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ fi
export HISTFILE=~/.zsh_history
export HISTSIZE=10000
export SAVEHIST=10000
export HISTFILESIZE=10000
setopt APPEND_HISTORY
setopt SHARE_HISTORY
setopt HIST_IGNORE_DUPS
Expand All @@ -202,4 +203,8 @@ setopt histignorespace # skip cmds w/ leading space from history
export HSTR_CONFIG=hicolor # get more colors
bindkey -s "\C-r" "\C-a hstr -- \C-j" # bind hstr to Ctrl-r (for Vi mode check doc)
export HSTR_TIOCSTI=y
shopt -s histappend # append new history items to HISTFILE
export HISTCONTROL=ignorespace # leading space commands do not go to history

# sync history
export PROMPT_COMMAND="history -a; history -n; ${PROMPT_COMMAND}"
5 changes: 4 additions & 1 deletion dotfiles.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@
"**/__queuestorage__": true,
"**/.pytest_cache": true,
"**/.ruff_cache": true
}
},
"cSpell.words": [
"histappend"
]
},
"extensions": {
"recommendations": [
Expand Down

0 comments on commit b7915bc

Please sign in to comment.