Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
wavemode
· 4mo ago · 0 comments
Well, you can "source" a script, so its effects persist in your current shell session. That's a feature of the script and your shell sharing the same language.
Comments
[–]
zbentley
4mo ago
Sure, but “shell scripts” as an (admittedly imprecise) term usually imply separate executable files, not shell libraries/functions that are sourced.
[–]
freehorse
4mo ago
Then it seems that what you want is running a repl of your chosen language rather than shell/"executable" scripts.