1
0
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:
TheArtist 2015-09-11 17:41:23 +03:00
parent 113a84f9f0
commit d3dd3f34e6
5 changed files with 7 additions and 7 deletions

View File

@ -1,2 +1,2 @@
@echo off @echo off
python %~dp0\autojump %* python "%~dp0\autojump" %*

View File

@ -17,5 +17,5 @@ if ERRORLEVEL 1 (
echo try `autojump --help` for more information echo try `autojump --help` for more information
) )
) else ( ) else (
python %~dp0\autojump %* python "%~dp0\autojump" %*
) )

View File

@ -2,7 +2,7 @@
echo %*|>nul findstr /rx \-.* echo %*|>nul findstr /rx \-.*
if ERRORLEVEL 1 ( if ERRORLEVEL 1 (
%~dp0\j.bat %cd% %* "%~dp0\j.bat" "%cd%" %*
) else ( ) else (
python %~dp0\autojump %* python "%~dp0\autojump" %*
) )

View File

@ -2,7 +2,7 @@
echo %*|>nul findstr /rx \-.* echo %*|>nul findstr /rx \-.*
if ERRORLEVEL 1 ( if ERRORLEVEL 1 (
%~dp0\jc.bat %cd% %* "%~dp0\jc.bat" "%cd%" %*
) else ( ) else (
python %~dp0\autojump %* python "%~dp0\autojump" %*
) )

View File

@ -11,5 +11,5 @@ if ERRORLEVEL 1 (
echo try `autojump --help` for more information echo try `autojump --help` for more information
) )
) else ( ) else (
python %~dp0\autojump %* python "%~dp0\autojump" %*
) )