versionstamp: Better $ZSH_HIGHLIGHT_REVISION reporting when running from git.
This commit is contained in:
		
							parent
							
								
									635a68f7b4
								
							
						
					
					
						commit
						84734ba950
					
				|  | @ -36,7 +36,7 @@ if [[ -o function_argzero ]]; then | |||
|     # When running from a source tree without 'make install', $ZSH_HIGHLIGHT_REVISION | ||||
|     # would be set to '$Format:%H$' literally.  That's an invalid value, and obtaining | ||||
|     # the valid value (via `git rev-parse HEAD`, as Makefile does) might be costly, so: | ||||
|     unset ZSH_HIGHLIGHT_REVISION | ||||
|     ZSH_HIGHLIGHT_REVISION=HEAD | ||||
|   fi | ||||
| else | ||||
|   # $0 is unreliable, so the call to _zsh_highlight_load_highlighters will fail. | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue