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
Ohmyzsh
Commits
94baa9ea
Commit
94baa9ea
authored
Dec 13, 2014
by
Marc Cornellà
Browse files
Simplify `if' into oneliner, allow spaces in HISTFILE
parent
d87d4331
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/history.zsh
View file @
94baa9ea
## Command history configuration
## Command history configuration
if
[
-z
"
$HISTFILE
"
]
;
then
[
-z
"
$HISTFILE
"
]
&&
HISTFILE
=
"
$HOME
/.zsh_history"
HISTFILE
=
$HOME
/.zsh_history
fi
HISTSIZE
=
10000
HISTSIZE
=
10000
SAVEHIST
=
10000
SAVEHIST
=
10000
...
...
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