[File] [PATCH] add magic for fish shell shebangs

Christos Zoulas christos at zoulas.com
Fri Jan 31 00:17:41 UTC 2020


Added, thanks!

christos

> On Jan 30, 2020, at 10:16 AM, Benjamin Lowry <ben at ben.gmbh> wrote:
> 
> ---
> magic/Magdir/commands | 9 +++++++++
> 1 file changed, 9 insertions(+)
> 
> diff --git a/magic/Magdir/commands b/magic/Magdir/commands
> index faa94ae9..cbb3669d 100644
> --- a/magic/Magdir/commands
> +++ b/magic/Magdir/commands
> @@ -84,6 +84,15 @@
> 0	string/wt	#!\ /usr/bin/env\ bash	Bourne-Again shell script text executable
> !:mime	text/x-shellscript
> 
> +# Fish shell magic
> +# From: Benjamin Lowry <ben at ben.gmbh>
> +0	string/wt	#!\ /usr/local/bin/fish		fish shell script text executable
> +!:mime	text/x-shellscript
> +0	string/wt	#!\ /usr/bin/fish			fish shell script text executable
> +!:mime	text/x-shellscript
> +0	string/wt	#!\ /usr/bin/env\ fish		fish shell script text executable
> +!:mime	text/x-shellscript
> +
> # PHP scripts
> # Ulf Harnhammar <ulfh at update.uu.se>
> 0	search/1/c	=<?php			PHP script text
> --
> 2.20.1
> 
> --
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20200130/d35a8613/attachment.asc>


More information about the File mailing list