diff options
author | Hsieh Chin Fan <typebrook@topo.tw> | 2023-01-28 10:55:54 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@topo.tw> | 2023-01-28 10:55:54 +0800 |
commit | 5d568888e1a4e8eec3c93cb9f4c6d027349fb58d (patch) | |
tree | cc5c9eccacddf12bae63a7fa58b2c842de060a15 /zsh | |
parent | 93a6eb72165fa56e2ded63f473237ef62300d15d (diff) |
Update
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/zshenv | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zsh/zshenv b/zsh/zshenv new file mode 100644 index 0000000..a87f4de --- /dev/null +++ b/zsh/zshenv | |||
@@ -0,0 +1,9 @@ | |||
1 | export XDG_CONFIG_HOME="$HOME/.config" | ||
2 | export ZDOTDIR="$XDG_CONFIG_HOME/zsh" | ||
3 | |||
4 | export EDITOR="vim" | ||
5 | export VISUAL="vim" | ||
6 | |||
7 | export HISTFILE="$ZDOTDIR/.zhistory" # History filepath | ||
8 | export HISTSIZE=10000 # Maximum events for internal history | ||
9 | export SAVEHIST=10000 # Maximum events in history file | ||