1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-03 03:09:25 +00:00

Simplify the use of ZDOTDIR

This commit is contained in:
Sorin Ionescu
2013-05-20 14:50:34 -04:00
parent 773ca7ee50
commit 5c7bd2009c
7 changed files with 33 additions and 21 deletions

View File

@ -36,7 +36,7 @@ unsetopt FLOW_CONTROL # Disable start/stop characters in shell editor.
# Use caching to make completion for cammands such as dpkg and apt usable.
zstyle ':completion::complete:*' use-cache on
zstyle ':completion::complete:*' cache-path "${ZDOTDIR:-$HOME}/.zcompcache"
zstyle ':completion::complete:*' cache-path "$ZDOTDIR/.zcompcache"
# Case-insensitive (all), partial-word, and then substring completion.
if zstyle -t ':prezto:module:completion:*' case-sensitive; then

View File

@ -10,7 +10,7 @@
# Variables
#
HISTFILE="${ZDOTDIR:-$HOME}/.zhistory" # The path to the history file.
HISTFILE="$ZDOTDIR/.zhistory" # The path to the history file.
HISTSIZE=10000 # The maximum number of events to save in the internal history.
SAVEHIST=10000 # The maximum number of events to save in the history file.