mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	Merge pull request #341 from benvb/patch-1
Quote $XDG_DATA_HOME when setting error file.
This commit is contained in:
		
						commit
						59335b4109
					
				| @ -13,7 +13,7 @@ complete -x -c j -a '(autojump --complete (commandline -t))' | |||||||
| # set error file location | # set error file location | ||||||
| if test (uname) = "Darwin" | if test (uname) = "Darwin" | ||||||
|     set -x AUTOJUMP_ERROR_PATH ~/Library/autojump/errors.log |     set -x AUTOJUMP_ERROR_PATH ~/Library/autojump/errors.log | ||||||
| else if test -d $XDG_DATA_HOME | else if test -d "$XDG_DATA_HOME" | ||||||
|     set -x AUTOJUMP_ERROR_PATH $XDG_DATA_HOME/autojump/errors.log |     set -x AUTOJUMP_ERROR_PATH $XDG_DATA_HOME/autojump/errors.log | ||||||
| else | else | ||||||
|     set -x AUTOJUMP_ERROR_PATH ~/.local/share/autojump/errors.log |     set -x AUTOJUMP_ERROR_PATH ~/.local/share/autojump/errors.log | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user