1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-10-01 08:44:09 +02:00

allow specifying #! inside shell

fixes #51
This commit is contained in:
Robin Appelman 2026-09-20 16:21:57 +02:00
commit d398b9f9e1
4 changed files with 60 additions and 17 deletions

View file

@ -1,5 +1,6 @@
#! /usr/bin/env -S haze script
#! haze shell pgsql s3
#! /usr/bin/env nu
echo 'test' | occ file:put '-' /admin/files/test.txt
FILE_ID=$(occ info:file /admin/files/test.txt | grep fileid: | grep -oE '[0-9]+')