For those with this question, try: bass (https://github.com/edc/bass)

Example:

> bass export x="TEST"

> bass . sample.sh (assuming sample.sh is a source-able script)

> bass ./sample.sh

Works great for me!

---John
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to