Fix .zsh_history on macOS
This commit is contained in:
parent
d4a7d60660
commit
42bf583337
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,12 +1,8 @@
|
|||||||
**/stop.sh
|
|
||||||
**/bookmarks
|
|
||||||
**/lazy-lock.json
|
**/lazy-lock.json
|
||||||
**/.netrwhist
|
**/.netrwhist
|
||||||
**/__pycache__
|
**/__pycache__
|
||||||
**/qtile/custom.py
|
|
||||||
**/qtile/autostart.sh
|
|
||||||
**/qtile/autostop.sh
|
|
||||||
**/zed/.tmp*
|
**/zed/.tmp*
|
||||||
**/zed/embeddings
|
**/zed/embeddings
|
||||||
**/zed/keymap.json
|
**/zed/keymap.json
|
||||||
**/zed/prompts
|
**/zed/prompts
|
||||||
|
**/.zsh_history
|
@ -14,6 +14,7 @@ setopt HIST_SAVE_NO_DUPS
|
|||||||
setopt HIST_REDUCE_BLANKS
|
setopt HIST_REDUCE_BLANKS
|
||||||
setopt SHARE_HISTORY
|
setopt SHARE_HISTORY
|
||||||
setopt INC_APPEND_HISTORY
|
setopt INC_APPEND_HISTORY
|
||||||
|
ln -sf $XDG_DATA_HOME/zsh/history $ZDOTDIR/.zsh_history
|
||||||
|
|
||||||
# set path
|
# set path
|
||||||
path=(~/.local/bin "${path[@]}")
|
path=(~/.local/bin "${path[@]}")
|
||||||
|
Loading…
Reference in New Issue
Block a user