1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

handle white space properly when opening with file manager

This commit is contained in:
William Ting 2013-02-03 09:12:24 -06:00
parent ae978d3319
commit c7d0533dd8
2 changed files with 4 additions and 4 deletions

View File

@ -100,10 +100,10 @@ function jc {
function jo {
case ${OSTYPE} in
linux-gnu)
xdg-open $(autojump $@)
xdg-open "$(autojump $@)"
;;
darwin*)
open $(autojump $@)
open "$(autojump $@)"
;;
cygwin)
cmd /C start "" $(cygpath -w -a $(pwd))

View File

@ -64,10 +64,10 @@ function jc {
function jo {
case ${OSTYPE} in
linux-gnu)
xdg-open $(autojump $@)
xdg-open "$(autojump $@)"
;;
darwin*)
open $(autojump $@)
open "$(autojump $@)"
;;
cygwin)
cmd /C start "" $(cygpath -w -a $(pwd))