mirror of
				https://github.com/dcarrillo/prezto.git
				synced 2025-11-04 06:19:09 +00:00 
			
		
		
		
	[#255] Use $ZDOTDIR or $HOME
This commit is contained in:
		@@ -39,7 +39,7 @@ WORDCHARS='*?_-.[]~&;!#$%^(){}<>'
 | 
			
		||||
 | 
			
		||||
# Use caching to make completion for cammands such as dpkg and apt usable.
 | 
			
		||||
zstyle ':completion::complete:*' use-cache on
 | 
			
		||||
zstyle ':completion::complete:*' cache-path "$HOME/.zcompcache"
 | 
			
		||||
zstyle ':completion::complete:*' cache-path "${ZDOTDIR:-$HOME}/.zcompcache"
 | 
			
		||||
 | 
			
		||||
# Case-insensitive (all), partial-word, and then substring completion.
 | 
			
		||||
if zstyle -t ':prezto:module:completion:*' case-sensitive; then
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
# Variables
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
HISTFILE="$HOME/.zhistory"       # The path to the history file.
 | 
			
		||||
HISTFILE="${ZDOTDIR:-$HOME}/.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.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user