Prevent zsh from destroying mackup's symlink
This commit is contained in:
parent
f08c01d886
commit
d1b4d6c8dc
1 changed files with 7 additions and 3 deletions
10
.zshrc
10
.zshrc
|
@ -51,12 +51,16 @@ unalias -a
|
||||||
|
|
||||||
# Set these environment variables here (and not in ~/.profile)
|
# Set these environment variables here (and not in ~/.profile)
|
||||||
# due to conflict/overlap with bash
|
# due to conflict/overlap with bash
|
||||||
export HISTFILE="$HOME/.zhistory" # default name by oh-my-zsh
|
|
||||||
export HISTSIZE=999999 # number of lines kept in memory
|
# Can NOT be $HOME/.zhistory as zsh destroys mackup's symbolic link
|
||||||
export SAVEHIST=999999 # number of lines kept in $HISTFILE
|
export HISTFILE="$HOME/data/getraenkemarkt/mackup/.zhistory"
|
||||||
|
|
||||||
|
export HISTSIZE=999999 # number of lines kept in memory
|
||||||
|
export SAVEHIST=999999 # number of lines kept in $HISTFILE
|
||||||
|
|
||||||
# Append to the $HISTFILE rather than overwrite it
|
# Append to the $HISTFILE rather than overwrite it
|
||||||
setopt APPEND_HISTORY
|
setopt APPEND_HISTORY
|
||||||
|
setopt INC_APPEND_HISTORY
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue