From 8fb8cc9d6b7764533beeff41607bae33c8da3b9a Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 30 Aug 2022 03:38:55 +0300 Subject: [PATCH] home/scripts: fix shubang --- scripts/him.sh | 2 +- scripts/slugify.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) mode change 100644 => 100755 scripts/slugify.ts diff --git a/scripts/him.sh b/scripts/him.sh index e348297..c5d27f8 100755 --- a/scripts/him.sh +++ b/scripts/him.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh bin="himalaya" diff --git a/scripts/slugify.ts b/scripts/slugify.ts old mode 100644 new mode 100755 index 1da7e3a..5fc6514 --- a/scripts/slugify.ts +++ b/scripts/slugify.ts @@ -1,3 +1,8 @@ +#!/usr/bin/env nix-shell +/* +#!nix-shell -i "deno run" -p deno +*/ + import { slugify } from "https://deno.land/x/slugify/mod.ts"; for (const sourceFileName of Deno.args) {