DEV Community

Discussion on: Auto-alias Your Repos

Collapse
 
nickelkr profile image
Kyle Nickel

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.