We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deecf5a commit 405cdd4Copy full SHA for 405cdd4
git-it-on.plugin.zsh
@@ -11,7 +11,7 @@ __open() {
11
open "$1" 2> /dev/null
12
elif if $IN_WSL; then
13
# for cmd.exe, need to use ^ to escape the following: ()%!^"<>&|
14
- cmd.exe /c "start $(echo "$1" | sed "s~\([\(\)%\!^\"<>&|]\)~\^\1~g")"
+ cmd.exe /c "start $(echo "$1" | sed "s~\([\(\)%\!^\"<>&|]\)~\^\1~g")" &> /dev/null
15
else
16
xdg-open "$1" &> /dev/null
17
fi
0 commit comments