mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	znt: optimizations for zsh<=5.2, use $BUFFER if cmd is not from history
This commit is contained in:
		@@ -1,4 +1,5 @@
 | 
			
		||||
# Hotlist
 | 
			
		||||
# Try to use $ZSH_VERSION, e.g. /usr/share/zsh/$ZSH_VERSION/functions
 | 
			
		||||
local hotlist
 | 
			
		||||
hotlist=(
 | 
			
		||||
    ~/.config/znt
 | 
			
		||||
@@ -7,7 +8,6 @@ hotlist=(
 | 
			
		||||
    /usr/local/share/zsh/site-functions
 | 
			
		||||
    /usr/local/share/zsh
 | 
			
		||||
    /usr/local/bin
 | 
			
		||||
    /usr/lib
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
# Suppress adding (to directory stack) directories visited by n-cd
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user