Closed2
alias
![naoki](https://res.cloudinary.com/zenn/image/fetch/s--gXXjFCmF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/eb0a70c227.jpeg)
zshのalias設定
/.zshrc
alias 任意のコマンド='コマンド'
source ~/.zshrc
![naoki](https://res.cloudinary.com/zenn/image/fetch/s--gXXjFCmF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/eb0a70c227.jpeg)
git関連のalias設定
~.zshrc
alias gb='git branch'
alias gba='git branch -a'
alias gc='git checkout'
alias gcb='git checkout -b'
alias gs='git status'
alias ga='git add'
alias gcm='git commit -m'
alias g='git'
alias glo='git log --oneline'
このスクラップは2022/03/26にクローズされました