mirror of
				https://github.com/TheLocehiliosan/yadm
				synced 2025-06-13 13:03:58 +00:00 
			
		
		
		
	Mark GIT_DIR for export.
Before: yadm push <TAB> # Completes filenames. After: yadm push <TAB> # Completes names of git remotes.
This commit is contained in:
		
							parent
							
								
									60e0fbbf42
								
							
						
					
					
						commit
						5d9e0a7133
					
				| @ -18,7 +18,7 @@ if declare -F _git > /dev/null; then | |||||||
|       antepenultimate=${COMP_WORDS[COMP_CWORD-2]} |       antepenultimate=${COMP_WORDS[COMP_CWORD-2]} | ||||||
|     fi |     fi | ||||||
| 
 | 
 | ||||||
|     local GIT_DIR |     local -x GIT_DIR | ||||||
|     # shellcheck disable=SC2034 |     # shellcheck disable=SC2034 | ||||||
|     GIT_DIR="$(yadm introspect repo 2>/dev/null)" |     GIT_DIR="$(yadm introspect repo 2>/dev/null)" | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user