mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Fixed handling of directories with spaces on Windows
This commit is contained in:
parent
113a84f9f0
commit
d3dd3f34e6
@ -1,2 +1,2 @@
|
||||
@echo off
|
||||
python %~dp0\autojump %*
|
||||
python "%~dp0\autojump" %*
|
||||
|
@ -17,5 +17,5 @@ if ERRORLEVEL 1 (
|
||||
echo try `autojump --help` for more information
|
||||
)
|
||||
) else (
|
||||
python %~dp0\autojump %*
|
||||
python "%~dp0\autojump" %*
|
||||
)
|
@ -2,7 +2,7 @@
|
||||
|
||||
echo %*|>nul findstr /rx \-.*
|
||||
if ERRORLEVEL 1 (
|
||||
%~dp0\j.bat %cd% %*
|
||||
"%~dp0\j.bat" "%cd%" %*
|
||||
) else (
|
||||
python %~dp0\autojump %*
|
||||
python "%~dp0\autojump" %*
|
||||
)
|
@ -2,7 +2,7 @@
|
||||
|
||||
echo %*|>nul findstr /rx \-.*
|
||||
if ERRORLEVEL 1 (
|
||||
%~dp0\jc.bat %cd% %*
|
||||
"%~dp0\jc.bat" "%cd%" %*
|
||||
) else (
|
||||
python %~dp0\autojump %*
|
||||
python "%~dp0\autojump" %*
|
||||
)
|
@ -11,5 +11,5 @@ if ERRORLEVEL 1 (
|
||||
echo try `autojump --help` for more information
|
||||
)
|
||||
) else (
|
||||
python %~dp0\autojump %*
|
||||
python "%~dp0\autojump" %*
|
||||
)
|
Loading…
Reference in New Issue
Block a user