plugin-foreign-env icon indicating copy to clipboard operation
plugin-foreign-env copied to clipboard

Run foreign bash scripts and capture exported environment variables

Results 10 plugin-foreign-env issues
Sort by recently updated
recently updated
newest added

Since #28, this won't work on fish 2.2.0. In particular it introduced a use of `string` (fish 2.3.0+), and it won't split $PATH and friends (fish 3.0+). But the badge...

Hi, I confirm, the pull request #28 fixes the bug #14 . These PR contains just a test for the use case. I don't know if there is another method...

This pull requests adds a `-p`/`--print` flag to fenv which allows for outputting the `set` commands generated instead of executing them. The motivation for this way to move the calls...

If an `export` contains bash command substitution `$( ... )`, it won't work in fish. This is similar to #4. Is it possible to fix #4 and this issue? It...

## Before this PR There were some cases where we'd still try to set `_` unsuccessfully, e.g. when sourcing the per-user nix.sh file when running a Nix installation. See https://github.com/oh-my-fish/plugin-foreign-env/pull/19#issuecomment-591451790...

There seems to be a problem in parsing of env vars like `PAGER`. We noticed when running `history` that fish errored on the pager, you can find all the details...

It is possible for env to produce output on stderr. I don't know the precise condition, but it is triggered by the Environment Modules [Bash initialization script](https://github.com/cea-hpc/modules/blob/master/init/bash.in) `previous_env` did not...

~/.bashrc usually contains some customization to the $PATH variable, so it makes sense to source it by passing the `--login`-flag to bash. This pull request modifies the two calls to...

This was a rather difficult one to track down: some distributions have a special clause in their `~/.bashrc` that looks something like this (taken from [this gist](https://gist.github.com/RobSeder/c82358b06cc2b98749de)): ```sh # ~/.bashrc:...

When an alias is created in the bash environment, create the corresponding function in the fish environment This is something bass added a while back If you're interested, I may...