配置 alias
作者:
ricekent | 来源:发表于
2020-02-28 21:00 被阅读0次
- 在 home 目录下新建 .alias 文件,添加 alias
# alias for lxgui
# linux
alias les='less -s'
alias e="emacs"
alias zshconfig="emacs ~/.zshrc"
alias vzshconfig="vim ~/.zshrc"
# conda
alias cup="conda activate"
alias cdown="conda deactivate"
alias cenv="conda env list"
# vscode
alias code="code-insiders"
# node
alias ns="nest start -w"
alias ys="yarn serve"
# aliases (初始化 path 同理)
if [ -f ~/.alias ]; then
source ~/.alias
fi
本文标题:配置 alias
本文链接:https://www.haomeiwen.com/subject/qhalhhtx.html
网友评论