It might be excessive for your purposes but an alternative may be to use zoxide. It learns the directories you use regularly and you can then cd to those directories through the z command. E.g. z docs.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: