You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The autojump.exe itself is not sufficient to provide the expected function on windows cmd prompt, while installing the python autojump and overriding the script cause confusion. There could be better approaches.
The python autojump actually does 2 things through installation:
Adding the path to the scripts to the PATH env.
Binding autojump.lua to clink so that the script can hook and record the changes in working directories.
The Powershell requires extra intergrations, which is absent currently.
As for Windows CMD, it's possible to provide some other approaches for installation.
Install Script
This can be achieved through the following steps:
Include autojump.lua and those .bat scripts into the windows_msvc package.
Add a install.bat or what to the package. The script can be something like this:
REM Setting the PATH env variblesetx /m PATH"%PATH%;%~dp0"REM Bind autojump.lua to clinkREM TODO: Warn user when clink is not present
clink installscripts "%~dp0"
Scoop
The Scoop package manager has added this project into the 'extras' bucket(A manifest that explains where and how to install a software). See ScoopInstaller/Extras#8377
Currently the scoop-installed autojump-rs cannot function as well, due to the same reason given. However, scoop provides the ability to run scripts at installation / uninstallation as well as dependency lookup, which make it possible to automaticly check the presence of clink and configure the environment.
Include autojump.lua and those .bat scripts into the windows_msvc package. This is the same as above
The
autojump.exe
itself is not sufficient to provide the expected function on windows cmd prompt, while installing the pythonautojump
and overriding the script cause confusion. There could be better approaches.The python
autojump
actually does 2 things through installation:PATH
env.autojump.lua
toclink
so that the script can hook and record the changes in working directories.As for Windows CMD, it's possible to provide some other approaches for installation.
Install Script
This can be achieved through the following steps:
autojump.lua
and those.bat
scripts into thewindows_msvc
package.install.bat
or what to the package. The script can be something like this:Scoop
The Scoop package manager has added this project into the 'extras' bucket(A manifest that explains where and how to install a software). See ScoopInstaller/Extras#8377
Currently the scoop-installed
autojump-rs
cannot function as well, due to the same reason given. However, scoop provides the ability to run scripts at installation / uninstallation as well as dependency lookup, which make it possible to automaticly check the presence ofclink
and configure the environment.autojump.lua
and those.bat
scripts into thewindows_msvc
package. This is the same as aboveThe text was updated successfully, but these errors were encountered: