chore: move zsh_history to ZDOTDIR

This commit is contained in:
Tri Vo Khac committed 2023-05-24 22:41:29 +07:00
1 parent fd46ba319e
commit 5c8d379615
2 files changed
+1 -2

No files matched your search

-2
View File
@@ -3,8 +3,6 @@
# workaround for vscode terminal
[[ -z "${XDG_CONFIG_HOME}" ]] && export XDG_CONFIG_HOME="${HOME}/.config"
[[ -z "${ZDOTDIR}" ]] && export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
HISTFILE="$HOME"/.zsh_history
# some useful options (man zshoptions)
setopt AUTO_CD EXTENDED_GLOB NOMATCH MENU_COMPLETE
+1
View File
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
HISTFILE="$ZDOTDIR"/.zsh_history
HISTSIZE=1000000
SAVEHIST=1000000