mirror of
https://github.com/wting/autojump
synced 2026-03-02 03:49:26 +00:00
handle white space properly when opening with file manager
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user