1
0
dotfiles/.config/zsh/env/history.zsh
2021-04-19 01:00:58 +03:00

11 lines
194 B
Bash

#!/bin/zsh
## kinda unlimited history
HISTSIZE=10000000
SAVEHIST=10000000
ZSHU[f_hist]="${ZSHU[d_var]}/history"
[ -f "${ZSHU[f_hist]}" ] || touch "${ZSHU[f_hist]}"
HISTFILE="${ZSHU[f_hist]}"