Skip to content

Instantly share code, notes, and snippets.

@Rafael-Ramblas
Created June 19, 2024 18:31
Show Gist options
  • Save Rafael-Ramblas/597bcefdffe45df30d0a197805e0039f to your computer and use it in GitHub Desktop.
Save Rafael-Ramblas/597bcefdffe45df30d0a197805e0039f to your computer and use it in GitHub Desktop.
A JSON that maps know shebangs to their correspondent languages
{
"#!/bin/bash": "shell",
"#!/bin/sh": "shell",
"#!/bin/zsh": "shell",
"#!/bin/python3": "python",
"#!/usr/bin/env python": "python",
"#!/usr/bin/env perl": "perl",
"#!/usr/bin/env ruby": "ruby",
"#!/usr/bin/env php": "php",
"#!/usr/bin/env node": "javascript",
"#!/usr/bin/env bash": "shell",
"#!/usr/bin/env sh": "shell",
"#!/usr/bin/env lua": "lua",
"#!/usr/bin/env awk": "awk",
"#!/usr/bin/env sed": "sed",
"#!/usr/bin/env r": "r",
"#!/usr/bin/env swift": "swift",
"#!/usr/bin/env perl6": "perl",
"#!/usr/bin/env powershell": "powershell",
"#!/usr/bin/env tclsh": "tcl",
"#!/usr/bin/env fish": "shell"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment