oils-for-unix / oils

Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
http://www.oilshell.org/
Other
2.85k stars 159 forks source link

Flag changes required by `zoxide` when sourcing other shell’s startup files #2098

Closed nisbet-hubbard closed 3 weeks ago

nisbet-hubbard commented 1 month ago

https://github.com/ajeetdsouza/zoxide#installation

As other similar adjustments may be required depending on the software one has installed under previous shell, it can be helpful to collect compatible configurations in a file under /etc/profile.d and source it from oshrc and keep shell-dependent ones such as zoxide’s in shell-specific files like .bashrc and oshrc.

andychu commented 4 weeks ago

Thanks for getting this to work and documenting it!

I think we may want to have a sentence like:

For compatibility with programs like zoxide, see the wiki:

https://github.com/oils-for-unix/oils/wiki/Shell-Programs-That-Run-Under-OSH

or maybe we make a new page "OSH Compatibility Tips"

And this wiki page will have the core tips. Because somebody might run into some other issues, and they may want to edit the wiki.

I think we should put "Starship" on the wiki too. That one seems reasonably popular


Also, I didn't know what zoxide was, so it would be useful to include a link

i.e. we can mention the names of projects in this Markdown file, but I think the core tips should go on the wiki

nisbet-hubbard commented 3 weeks ago

Done! I’ve also updated the patch to link to the new wiki page.

nisbet-hubbard commented 3 weeks ago

Sure!