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:
parent
ae978d3319
commit
c7d0533dd8
@ -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))
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user