命令行设置快捷命令
时间:2019-12-07 16:02:30
收藏:0
阅读:116
1. 打开cmd
2. 创建 .bash_profile文件
touch .bash_profile
3. 打开.bash_profile文件
open .bash_profile
4. 写入快捷命令
alias cyb=‘cd /Users/project/YueBei‘
以上命令表示,在cmd模式下输入cyb命令,将会打开/Users/project/YueBei
原文:https://www.cnblogs.com/Ayinger/p/12001606.html
评论(0)