aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-07-20 19:05:20 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-07-20 19:05:20 -0400
commitcd5531dd2df9074116090770c7144faa9a4ba968 (patch)
tree479511f19010fe62e073b9be3f466d9d92f81995 /zsh
parentUpdate email for git (diff)
downloaddotfiles-cd5531dd2df9074116090770c7144faa9a4ba968.zip
Use atuin for shell history
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zsh/history.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/zsh/.zsh/history.sh b/zsh/.zsh/history.sh
index e834b85..05d5cd3 100644
--- a/zsh/.zsh/history.sh
+++ b/zsh/.zsh/history.sh
@@ -1,5 +1,8 @@
#!/usr/bin/env zsh
-export HISTFILE=~/.zhistory
-export HISTSIZE=100000
-export SAVEHIST=100000
+eval "$(atuin init zsh)"
+
+# Disable zsh default history
+unset HISTFILE
+HISTSIZE=0
+SAVEHIST=0