Fix .zsh_history on macOS

This commit is contained in:
Bartek Stalewski 2024-09-20 00:56:52 +02:00
parent d4a7d60660
commit 42bf583337
Signed by: ftpd
SSH Key Fingerprint: SHA256:vGQiaNJcfUMLt3wF58+Zx15C6SpRDA9spUeggjVY8Yo
2 changed files with 2 additions and 5 deletions

6
.gitignore vendored
View File

@ -1,12 +1,8 @@
**/stop.sh
**/bookmarks
**/lazy-lock.json
**/.netrwhist
**/__pycache__
**/qtile/custom.py
**/qtile/autostart.sh
**/qtile/autostop.sh
**/zed/.tmp*
**/zed/embeddings
**/zed/keymap.json
**/zed/prompts
**/.zsh_history

View File

@ -14,6 +14,7 @@ setopt HIST_SAVE_NO_DUPS
setopt HIST_REDUCE_BLANKS
setopt SHARE_HISTORY
setopt INC_APPEND_HISTORY
ln -sf $XDG_DATA_HOME/zsh/history $ZDOTDIR/.zsh_history
# set path
path=(~/.local/bin "${path[@]}")