https://github.com/todesking/loadenv.vim
https://github.com/todesking/loadenv.vim
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/todesking/loadenv.vim
- Owner: todesking
- License: mit
- Created: 2014-06-21T07:36:24.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-21T12:55:21.000Z (about 12 years ago)
- Last Synced: 2026-01-17T16:50:16.746Z (5 months ago)
- Language: VimL
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# loadenv.vim: load environment variables from shell setting
## USAGE
```vim
if executable('/usr/local/bin/bash') " Or your favorite shell
call loadenv#load(
\ '/usr/local/bin/bash -i -c __CMD__', " Use -i for interactive mode(read bashrc)
\ ['PATH', 'JAVA_HOME']
\ )
endif
" $PATH and $JAVA_HOME is set.
```