Skip to content

Commit

Permalink
docs: fix hashbang example for linux env command (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Apr 13, 2024
1 parent b343b4a commit e728b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ If you prefer to use a local `tsx` instead of the global one, you can use `npx`:

_file.ts_
```ts
#!/usr/bin/env npx tsx
#!/usr/bin/env -S npx tsx

console.log('argv:', process.argv.slice(2))
```
Expand Down

0 comments on commit e728b63

Please sign in to comment.