From 4e2095ed705f5a4cd2594eaf73b8b29b40048c39 Mon Sep 17 00:00:00 2001 From: Gore Liu Date: Mon, 22 Aug 2016 07:29:58 +0800 Subject: [PATCH] v0.4 --- README.md | 7 +++---- src/package.sh | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a632c0e..7926fa8 100755 --- a/README.md +++ b/README.md @@ -20,13 +20,11 @@ If you are using Total Commander, read [Use wsl-terminal with Total Commander](h `run-wsl-file.exe` can run any .sh (and any others like .py/.pl/.php) script files in wsl-terminal, support `Open With` context menu in explorer.exe. -`vim.exe` can open any text file in vim(in wsl-terminal), support `Open With` context menu in explorer.exe. +`vim.exe` can open any text files in vim (in wsl-terminal), support `Open With` context menu in explorer.exe. `vim.exe` can be renamed to `emacs.exe/nvim.exe/nano.exe/...` to open files with `emacs/nvim/nano/...`. ## Run Windows programs in WSL -Run `outbash-daemon.js` to start a outbash.exe daemon, read [security warning](https://github.com/xilun/cbwin#security-warning) before running it. (If no need of `outbash.exe`, run a sleep (or a cat) in background to avoid all WSL processes (include tmux) being killed, more details in `outbash-daemon.js`.) - -`bin/{wrun/wstart/wcmd}` are used to run Windows programs (if `outbash-deamon.js` has been started). Start `open-wsl.exe`, run this command to install `wrun/wstart/wcmd`: +Set `use_cbwin=1` in `etc/wsl-terminal.conf` ( read [security warning](https://github.com/xilun/cbwin#security-warning) before using it), then `bin/{wrun/wstart/wcmd}` can run Windows programs. Start `open-wsl.exe`, run this command to install `wrun/wstart/wcmd`: ``` cd bin && ./install_cbwin.sh @@ -67,6 +65,7 @@ $ wrun taskkill /f /im outbash.exe [config] title=" " shell=bash +use_cbwin=0 use_tmux=0 ``` diff --git a/src/package.sh b/src/package.sh index d9923a0..232e22a 100755 --- a/src/package.sh +++ b/src/package.sh @@ -1,6 +1,6 @@ #!/bin/bash -version="0.3.1" +version="0.4" set -e