aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@topo.tw>2023-01-28 10:55:54 +0800
committerHsieh Chin Fan <typebrook@topo.tw>2023-01-28 10:55:54 +0800
commit5d568888e1a4e8eec3c93cb9f4c6d027349fb58d (patch)
treecc5c9eccacddf12bae63a7fa58b2c842de060a15 /zsh
parent93a6eb72165fa56e2ded63f473237ef62300d15d (diff)
Update
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zshenv9
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 @@
1export XDG_CONFIG_HOME="$HOME/.config"
2export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
3
4export EDITOR="vim"
5export VISUAL="vim"
6
7export HISTFILE="$ZDOTDIR/.zhistory" # History filepath
8export HISTSIZE=10000 # Maximum events for internal history
9export SAVEHIST=10000 # Maximum events in history file