Skip to content

Instantly share code, notes, and snippets.

@omega-takai
Last active April 9, 2020 02:24
Show Gist options
  • Save omega-takai/3f03fa194cc78be3803b894401f2f5fc to your computer and use it in GitHub Desktop.
Save omega-takai/3f03fa194cc78be3803b894401f2f5fc to your computer and use it in GitHub Desktop.
# alias git
alias gst 'git status'
alias gb 'git branch -vv'
alias gba 'git branch -a'
alias gf 'git fetch -p'
alias gc 'git checkout'
alias co 'git checkout'
alias gcp 'git cherry-pick'
alias makepr 'git commit --allow-empty -m "make pull request"'
# alias open by VSCode
alias code 'open -a "Visual Studio Code"'
# alias File size
alias fs 'stat -f "%z bytes"'
# alias brew upgrade
alias brewfresh 'brew update && brew upgrade && brew cask upgrade && brew cleanup && brew doctor'
# alias reload zsh config
alias src 'source ~/.config/fish/config.fish'
# PATH CONFIG
set -g fish_user_paths "/usr/local/sbin" $fish_user_paths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment