# Config Aliases (easily edit your config files)
# (not needed if using zsh + ohmyzsh as it adds them for you)
alias gitconfig="vim ~/.gitconfig"
alias gitignore="vim ~/.gitignore"
alias vimconfig="vim ~/.vimrc"
alias zshconfig="vim ~/.zshrc" # DELETE IF NOT USING ZSH
alias ohmyzsh="vim ~/.oh-my-zsh" # DELETE IF NOT USING ohmyzsh
alias bashconfig="vim ~/.bash_profile" # DELETE IF NOT USING BASH
# git aliases (not needed if using zsh + ohmyzsh as it adds them for you)
alias gco="git checkout"
alias gcm="git checkout master"
alias gcb="git checkout -b"
alias gb="git branch"
alias gst="git status"
alias gl="git pull"
alias gp="git push"
alias gcmsg="git commit -m"
alias gf="git fetch"
alias ga="git add"
# sfdx aliases
alias sfls="sfdx force:org:list"
# authenticates with dev hub, sets it as default and calls it 'grs-prod'
alias sflogin="sfdx force:auth:web:login -d -a grs-prod"
# creates scratch org, user must provide alias
alias create_org="sfdx force:org:create -s -f config/project-scratch-def.json -a"
# deletes a scratch org with provided alias
alias sfdelete="sfdx force:org:delete -u"
# all of these will use the default username unless supplied the
# -u flag with an alias / username
alias sfopen="sfdx force:org:open"
alias sfstatus="sfdx force:source:status"
alias sfpush="sfdx force:source:push"
alias sfpull="sfdx force:source:pull"