mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	Merge pull request #252 from blueyed/master
autojump.zsh: use `:h` modifier instead of `dirname`.
This commit is contained in:
		
						commit
						09d8992289
					
				@ -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