mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	autojump.zsh: use :h modifier instead of dirname
				
					
				
			Ref: https://github.com/joelthelion/autojump/issues/249
This commit is contained in:
		
							parent
							
								
									3ef1195077
								
							
						
					
					
						commit
						4a1de9d599
					
				@ -20,8 +20,8 @@ else
 | 
			
		||||
    export AUTOJUMP_ERROR_PATH=~/.local/share/autojump/errors.log
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [[ ! -d "$(dirname ${AUTOJUMP_ERROR_PATH})" ]]; then
 | 
			
		||||
    mkdir -p "$(dirname ${AUTOJUMP_ERROR_PATH})"
 | 
			
		||||
if [[ ! -d ${AUTOJUMP_ERROR_PATH:h} ]]; then
 | 
			
		||||
    mkdir -p ${AUTOJUMP_ERROR_PATH:h}
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user