Skip to content

Instantly share code, notes, and snippets.

@petermolnar-dev
Created February 19, 2021 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petermolnar-dev/488e8c92a69b849e5f606a3ecdddec98 to your computer and use it in GitHub Desktop.
Save petermolnar-dev/488e8c92a69b849e5f606a3ecdddec98 to your computer and use it in GitHub Desktop.
alias ..="cd .."
alias gps="git push"
alias gpl="git pull"
alias gcom="git commit -m"
alias gcd="git checkout"
alias gs="git status"
alias gm="git merge"
alias gl="git log"
alias grem="gir remote -v"
alias gadd="git add "
alias podres="pod cache clean --all; pod deintegrate; rm -rf ./Podfile.lock; MSDK_BRANCH= pod instal$
alias podresverbose="pod cache clean --all; pod deintegrate; MSDK_BRANCH= pod install --repo-update $
alias podupdate="MSDK_BRANCH=dev pod install --repo-update"
alias killDS="find . -name *.DS_Store -type f -delete"
alias ll="ls -l"
alias uuidgen='uuidgen | tr "[:upper:]" "[:lower:]"'
# Git branch in prompt.
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\u@\h \W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment