Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
885e8187
Commit
885e8187
authored
Dec 14, 2014
by
Robby Russell
Browse files
Merge pull request #3359 from unixorn/dont-clobber-histsize-and-savehist
Don't clobber $HISTSIZE and $SAVEHIST
parents
eced76e0
5bf71578
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/history.zsh
View file @
885e8187
## Command history configuration
if
[
-z
$HISTFILE
]
;
then
if
[
-z
"
$HISTFILE
"
]
;
then
HISTFILE
=
$HOME
/.zsh_history
fi
HISTSIZE
=
10000
SAVEHIST
=
10000
if
[
-z
"
$HISTSIZE
"
]
;
then
HISTSIZE
=
10000
fi
if
[
-z
"
$SAVEHIST
"
]
;
then
SAVEHIST
=
10000
fi
setopt extended_history
setopt hist_expire_dups_first
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment