tangled
alpha
login
or
join now
seth.computer
/
dotfiles
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
zsh: history settings
seth.computer
2 weeks ago
3e9724d9
f9b83ce3
verified
This commit was signed with the committer's
known signature
.
seth.computer
SSH Key Fingerprint:
SHA256:utUtG8j2hgvZ0Rnm/rPJiqFu4NT5bjOnC26AUIBh500=
+9
1 changed file
expand all
collapse all
unified
split
zsh
zshrc
+9
zsh/zshrc
···
1
1
autoload -Uz compinit && compinit
2
2
3
3
+
# history
4
4
+
HISTFILE="$HOME/.zsh_history"
5
5
+
HISTSIZE=10000
6
6
+
SAVEHIST=10000
7
7
+
setopt APPEND_HISTORY
8
8
+
setopt INC_APPEND_HISTORY
9
9
+
setopt HIST_IGNORE_DUPS
10
10
+
setopt HIST_IGNORE_SPACE
11
11
+
3
12
# homebrew, load first because it manages many downstream dependencies from here
4
13
[ -f "/opt/homebrew/bin/brew" ] && eval "$(/opt/homebrew/bin/brew shellenv)"
5
14
[ -f "/home/linuxbrew/.linuxbrew/bin/brew" ] && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"