Add .t for template copying
This commit is contained in:
		
							parent
							
								
									99dfe95131
								
							
						
					
					
						commit
						478f6722ba
					
				
					 3 changed files with 69 additions and 12 deletions
				
			
		|  | @ -14,6 +14,20 @@ _dote_completions() | |||
| } | ||||
| complete -F _dote_completions ".e" | ||||
| 
 | ||||
| _dott_completions() | ||||
| { | ||||
| 	if [ "${#COMP_WORDS[@]}" == "1" ]; then | ||||
| 		return | ||||
| 	fi | ||||
| 
 | ||||
| 	COMPREPLY=() | ||||
| 	while IFS='' read -r line | ||||
| 	do | ||||
| 		COMPREPLY+=("$line") | ||||
| 	done < <(compgen -W "$(.t -l)" "${COMP_WORDS[1]}") | ||||
| } | ||||
| complete -F _dott_completions ".t" | ||||
| 
 | ||||
| _autostart_manage_completions() | ||||
| { | ||||
| 	if [ "${#COMP_WORDS[@]}" == "2" ]; then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue