How can I cd to an alias directory in the Mac OSX terminal

前端 未结 7 532
迷失自我
迷失自我 2021-01-29 23:49

Is there a way to get into an alias directory from shell with the command \"cd\" ? It always returns that \"htdocs\" isn\'t a directory.

Edit: I made the shortcut with t

7条回答
  •  悲&欢浪女
    2021-01-30 00:35

    There is a old hint on macworld to do this in a way that is integrated with BASH: Enable 'cd' into directory aliases from the Terminal

    Plus, here is an answer that uses this solution on superuser.

提交回复
热议问题