Created
February 12, 2024 09:38
-
-
Save omega-takai/eedc70780543714d301df1fbf9ef8863 to your computer and use it in GitHub Desktop.
alias
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# alias GitHub | |
alias ghb='hub browse $(ghq list | peco | cut -d "/" -f 2,3)' | |
alias ghp='gh pr list' | |
# alias git | |
alias gst='git status' | |
alias gb='git branch -vv' | |
alias gba='git branch -a' | |
alias gbd='git branch -D' | |
alias gf='hub sync' | |
alias gc='git checkout' | |
alias gco='git checkout' | |
alias co='git switch' | |
alias gs='git switch' | |
alias gcp='git cherry-pick' | |
alias makepr='git commit --allow-empty -m "make pull request"' | |
alias ghcd='cd $(ghq root)/$(ghq list | peco)' | |
alias ghqcd='cd $(ghq root)/$(ghq list | peco)' | |
# other | |
alias tree='tree -a -I "\.DS_Store|\.git|node_modules" -N --dirsfirst' | |
alias fs='stat -f "%z bytes"' | |
alias brewfresh='brew update && brew upgrade && brew upgrade --cask && brew cleanup && brew doctor' | |
alias ll='ls -la' | |
# reload config | |
alias src='source ~/.zshrc' |
Author
omega-takai
commented
Feb 13, 2024
•
find . -name ".DS_Store" -type f -delete
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment