-
alias -s git="git clone --depth 1"
终端里直接粘贴[email protected]:3Kmfi6HP/EDtunnel.git
就会做 clone,无需输入 git clone。 -
alias -s {html,css,js}=code
vscode打开对应文件,code改为cat则可以在终端中展示对应文件内容
4 个赞
不错,学到了。第二个我还真不知道。
1 个赞