logoalt Hacker News

cedwstoday at 3:57 PM2 repliesview on HN

Can it be made to be directly executable with a shebang line?


Replies

_joeltoday at 4:09 PM

it already has one - https://github.com/chr15m/runprompt/blob/main/runprompt#L1

If you curl/wget a script, you still need to chmod +x it. Git doesn't have this issue as it retains the file metadata.

show 1 reply
chr15mtoday at 5:04 PM

That's on my TODO list for tomorrow, thanks!