DEV Community


Discussion on: Auto-alias Your Repos

nickelkr profile image
Kyle Nickel Author

A comment on a different site has given, for zsh, what I believe is the best solution for this:

Set cdpath=($HOME/code) in .zshrc. With auto_cd this allows for the same functionality without creating a bunch of aliases.

Forem Open with the Forem app