2
Shell 中快速进入常用目录
source link: https://blog.huangyafei.com/post/2016-02-24/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Shell 中快速进入常用目录
假设常用目录路径为 ~/Documents/freegapper
,希望使用的命令为 go2freegapper
。
在 .bash_profile
或 .zshrc
中加入:
alias go2freegapper="cd ~/Documents/freegapper"
重启 Shell 生效。
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK