Initial Drupal 11 with DDEV setup
This commit is contained in:
		
							
								
								
									
										25
									
								
								vendor/symfony/console/Resources/completion.fish
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								vendor/symfony/console/Resources/completion.fish
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,25 @@
 | 
			
		||||
# This file is part of the Symfony package.
 | 
			
		||||
#
 | 
			
		||||
# (c) Fabien Potencier <fabien@symfony.com>
 | 
			
		||||
#
 | 
			
		||||
# For the full copyright and license information, please view
 | 
			
		||||
# https://symfony.com/doc/current/contributing/code/license.html
 | 
			
		||||
 | 
			
		||||
function _sf_{{ COMMAND_NAME }}
 | 
			
		||||
    set sf_cmd (commandline -o)
 | 
			
		||||
    set c (count (commandline -oc))
 | 
			
		||||
 | 
			
		||||
    set completecmd "$sf_cmd[1]" "_complete" "--no-interaction" "-sfish" "-a{{ VERSION }}"
 | 
			
		||||
 | 
			
		||||
    for i in $sf_cmd
 | 
			
		||||
        if [ $i != "" ]
 | 
			
		||||
            set completecmd $completecmd "-i$i"
 | 
			
		||||
        end
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    set completecmd $completecmd "-c$c"
 | 
			
		||||
 | 
			
		||||
    $completecmd
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
complete -c '{{ COMMAND_NAME }}' -a '(_sf_{{ COMMAND_NAME }})' -f
 | 
			
		||||
		Reference in New Issue
	
	Block a user