mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	shell: add more interpreters (#3708)
* ash: only interpreter, extension is more commonly used for Kingdom of Loathing scripting, e.g. github.com/twistedmage/assorted-kol-scripts * dash: only interpreter, extension is more commonly used for dashboarding-related stuff * ksh: extension was already present * mksh * pdksh
This commit is contained in:
		
				
					committed by
					
						 Colin Seymour
						Colin Seymour
					
				
			
			
				
	
			
			
			
						parent
						
							37979b26b0
						
					
				
				
					commit
					470a82d9f5
				
			| @@ -4122,7 +4122,12 @@ Shell: | |||||||
|   - PKGBUILD |   - PKGBUILD | ||||||
|   - gradlew |   - gradlew | ||||||
|   interpreters: |   interpreters: | ||||||
|  |   - ash | ||||||
|   - bash |   - bash | ||||||
|  |   - dash | ||||||
|  |   - ksh | ||||||
|  |   - mksh | ||||||
|  |   - pdksh | ||||||
|   - rc |   - rc | ||||||
|   - sh |   - sh | ||||||
|   - zsh |   - zsh | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								test/fixtures/Shell/ash-env
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								test/fixtures/Shell/ash-env
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | #!/usr/bin/env ash | ||||||
|  | echo "ash" | ||||||
							
								
								
									
										2
									
								
								test/fixtures/Shell/dash-env
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								test/fixtures/Shell/dash-env
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | #!/usr/bin/env dash | ||||||
|  | echo "dash" | ||||||
							
								
								
									
										2
									
								
								test/fixtures/Shell/ksh-env
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								test/fixtures/Shell/ksh-env
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | #!/usr/bin/env ksh | ||||||
|  | echo "ksh" | ||||||
							
								
								
									
										2
									
								
								test/fixtures/Shell/mksh
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								test/fixtures/Shell/mksh
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | #!/bin/mksh | ||||||
|  | echo "mksh" | ||||||
							
								
								
									
										2
									
								
								test/fixtures/Shell/pdksh-env
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								test/fixtures/Shell/pdksh-env
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | #!/usr/bin/env pdksh | ||||||
|  | echo "pdksh" | ||||||
		Reference in New Issue
	
	Block a user