Tried with: Autojump 22.2.4, Fish 2.2b1 and Ubuntu 14. C:\msys64\sshddefaultshell.cmd) containing C:\msys64\msys2shell.cmd -defterm -here -no-start -mingw64 (you can change -mingw64 to the environment of your choice) and then setting the registry entry HKEYLOCALMACHINE\SOFTWARE\OpenSSH\DefaultShell to the path of that ba. 8883 Closed opened this issue on 8 comments ajeetdsouza on Return the directory if it is an absolute path Normalize and return the directory if it is a relative path Check CDPATH if it contains this directory If the path starts with /, we add it to the returned list. You can manually delete the line corresponding to that path in the file ~/.local/share/autojump/autojump.txt. One can connect to MSYS2 via Win32-OpenSSH by creating a batch file (e.g. According to this page, there is no command to delete a path from the autojump history.To see statistics of entries in autojump history:.To jump to a child of the current directory:.You can now jump to these directories by using the j command: In your C:msys64 open your msys2shell.cmd and comment out the line saying set MSYSwinsymlinks:nativestrict. Visit your commonly used directories with the cd command. Exit the fish shell and start it again.Set -local AUTOJUMP_PATH $HOME/.autojump/share/autojump/autojump.fish MSYS2 allows you to build native Windows programs, while with WSL you can only cross compile them which makes things more complicated. Source the autojump.fish file in your fish configuration, by opening the file ~/.config/fish/config.fish in an editor and adding these lines:.Install autojump to a local ~/.autojump directory: MSYS2 ships the Cygwin tool cygpath by default which allows converting paths between the Unix format, Windows format, and mixed format, see cygpath -help for details.newconsole:p:C:C:cygwin64Cygwin.ico is ConEmu. The above would again spawn a new terminal window, load the MSYS2 environment, launch bash and then run the python executable in that bash instance. When I create a shortcut to msys64.exe with /usr/bin/zsh it doesnt pick up that Im trying to use a different shell - and instead launches with the sh wrapper. I had it previously, but my PC was wiped and cant work out how I did it. Installing the latest version for fish is pretty easy: /usr/bin/bash.exe -login -i is the shell with arguments, you may use any other shell like zsh, fish, etc. Sorry if this is really simple - I cant work out with the launcher how to set my default shell. Autojump is available as a package in the Ubuntu repositories, but that is an old version that does not support the fish shell. □ 2014-Feb-27 ⬩ ✍️ Ashwin Nanjappa ⬩ □️ autojump, fish ⬩ □ ArchiveĪutojump is a tool that can be used to jump around in the shell to frequently used directories by typing just a part of their name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |