From d73d0490ffc8d10fd11cc35b1c37cffdd11818f6 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 19 Nov 2013 13:16:14 +0900 Subject: [PATCH] update open_file for cygwin --- bashrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 013ad55..ac6c8a3 100755 --- a/bashrc +++ b/bashrc @@ -759,7 +759,10 @@ __EOF__ } open_file(){ - if iswindows + if iscygwin + then + cygstart "$@" + elif ismsys then cmd.exe //c start "" "$@" elif isdarwin