Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
L3viathan
6 months ago
|
parent
|
context
|
favorite
| on:
Just: Just a Command Runner
You can put `./scripts` in your $PATH, if you want.
BeetleB
6 months ago
|
next
[–]
1. This requires that all your projects use "scripts" as the directory name.
2. This works only if you just happen to be in the directory above scripts.
kstrauser
6 months ago
|
prev
[–]
Absolutely do not do this. That’s all well and good until you clone a repo that ‘scripts/ls’ => install_ransomwhere().
olejorgenb
6 months ago
|
parent
|
next
[–]
You can put .scripts last in PATH (or first - whichever disallows scripts/ls to take precedence over /usr/bin/ls)
olejorgenb
6 months ago
|
parent
|
prev
[–]
You could put `.$MY-SECRET` it `PATH` and selectively symlink this to vetted script directories
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: