mfhepp / cdf

cdf: Change to favorite directories in Bash
https://mfhepp.github.io/cdf/
MIT License
1 stars 0 forks source link

Support for zsh #2

Closed mfhepp closed 7 months ago

mfhepp commented 7 months ago

The code should basically be portable as it stands; the tests run at least with zsh 5.9 on OSX. The only required changes for official support would be

  1. Fixing the autocomplete mechanism, as complete is not available in zshand the function might also not work as it stands. A minimal solution would be no autocomplete in zsh.
  2. Adding .zshrc etc. to the installation script, observing potential differences between OSX and Linux.
  3. Cleaning up .bashrc vs. .bash_profile in the installer - clarifying where to put the functions best.

Useful resources:

mfhepp commented 7 months ago

This is mostly done now with v0.4.

Only limitation is that zsh installation must be manual. This would be easy to fix, but as the use in zsh is new and experimental, it will be added later if there is demand.