Is there any way to run bash/zsh scripts that set environment variables under fish? I was hoping there'd be a function that did something like:
1. Run printenv under fish, capture the output. 2. Run the script under bash, capture the output of printenv. 3. Diff the two printenv outputs, and run set commands within fish as appropriate. The script I'm especially trying to get working with fish at the moment is https://github.com/postmodern/chruby/blob/master/share/chruby/chruby.sh but it's a somewhat general problem. Cheers, Michael ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users