forked from atomantic/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.zprofile
executable file
·18 lines (16 loc) · 992 Bytes
/
.zprofile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
##############################################################################
#Import the shell-agnostic (Bash or Zsh) environment config
##############################################################################
[ -r ~/.profile ] && source ~/.profile
##############################################################################
# History Configuration
##############################################################################
HISTSIZE=5000000 #How many lines of history to keep in memory
HISTFILE=~/.zsh_history #Where to save history to disk
SAVEHIST=50000 #Number of history entries to save to disk
HISTDUP=erase #Erase duplicates in the history file
# if [[ -n $TMUX ]]; then
# setopt appendhistory #Append history to the history file (no overwriting)
# setopt sharehistory #Share history across terminals
# setopt incappendhistory #Immediately append to the history file, not just when a term is killed
# fi