wting / autojump

A cd command that learns - easily navigate directories from the command line
Other
16.3k stars 706 forks source link

Support xonsh shell #364

Open mankoff opened 9 years ago

mankoff commented 9 years ago

I've just switched to http://xonsh.org/ and I miss my j command...

mslazynski commented 8 years ago

Support for xonsh would be indeed a nice feature.

wting commented 8 years ago

This must be related to xonsh hitting HackerNews front page, thanks for searching instead of opening another ticket!

That said, I'm pretty swamped these days but am happy to accept pull requests. Basically one would need to write a shell wrapper that does the following at a minimum:

wshanks commented 8 years ago

I have autojump working pretty well in xonsh with https://github.com/willsALMANJ/autojump-xonsh

One issue is that I don't see an easy way to integrate it into autojump.sh because the xonsh syntax does not follow shell syntax closely enough (it treats if statements as Python).