Request for temporary environment variables
See original GitHub issueHi, thanks for the plugin! It’s quickly become a treasured component of my Neovim config.
One extra feature I’d appreciate is specifying per-command environment variables. Here’s an example where that would be useful: https://github.com/ezyang/expecttest. This library allows you to specify a unit test without explicitly knowing the right hand side of the test. Then, if a particular environmental variable is turned on, the test runner itself overwrites the file to fill in the RHS based on the current output. This is very useful for numerically heavy projects, e.g. in ML. It would be useful to have a separate command that
- sets up an environmental variable
- runs an
ultest
command - removes the env variable whether or not the command was successfully completed
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
how to set temporary environment variable windows ...
Simply use the set command: C:\>set foo=bar C:\>echo %foo% bar C:\>exit. Open cmd again. C:\>echo %foo% %foo% C:\>.
Read more >Check temp environment variable - Microsoft Community
Check temp environment variable · Click Start, then type the three letters cmd into the Search box and press Enter. · Type these...
Read more >How can I set an environment variable only for the duration of ...
On Linux (Ubuntu 11.04 (Natty Narwhal)) in Bash, is it possible to temporarily set an environment variable that will only be different from ......
Read more >Windows TEMP/TMP Environment Variables - Romex Software
The TEMP/TMP environment variables specify the location in which most programs place temporary files. By default, TEMP/TMP location is in the Windows partition ......
Read more >Environment Variables - Micro Focus
Environment variables can be defined temporarily by booting to MS-DOS mode, defining variables with the SET command and then starting Windows. Variables ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you, it works perfectly now. 😃 Very useful functionality.
Yes that’s correct, which is what is wanted. The issue has to do with how the remote plugin call was being made (originally async and so couldn’t make a synchronous call). I’ve adjusted to be synchronous, so please try now