mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +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
parent
37979b26b0
commit
470a82d9f5
@@ -4122,7 +4122,12 @@ Shell:
|
||||
- PKGBUILD
|
||||
- gradlew
|
||||
interpreters:
|
||||
- ash
|
||||
- bash
|
||||
- dash
|
||||
- ksh
|
||||
- mksh
|
||||
- pdksh
|
||||
- rc
|
||||
- sh
|
||||
- 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