Skip to content

Instantly share code, notes, and snippets.

@matthewrkula
Last active December 5, 2019 19:22
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 matthewrkula/a238089e277cfef95ff31d0cc0ba124d to your computer and use it in GitHub Desktop.
Save matthewrkula/a238089e277cfef95ff31d0cc0ba124d to your computer and use it in GitHub Desktop.
push ()
{
git push -u origin "$(git rev-parse --abbrev-ref HEAD)"
}
pushf ()
{
git push -f -u origin "$(git rev-parse --abbrev-ref HEAD)"
}
function _update_ps1() {
PS1=$(powerline-shell $?)
}
if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
alias adbd='adb devices'
alias branch='git checkout -b'
alias co='git checkout'
alias count='python ~/count_module_files.py'
alias deeplink='adb shell am start -a "android.intent.action.VIEW" -d'
alias diff='git diff'
alias ebp='vim ~/.bash_profile'
alias ga='gradle :app:assembleStandardDebug -Pdisable-performance-plugin'
alias gi='gradle :app:installStandardDebug -Pdisable-performance-plugin'
alias gv='gradle :video-player-demo:installDebug'
alias gradle='./gradlew'
alias graph='python ~/build-graph.py'
alias install='gradle installStandardDebug'
alias ls='exa -l'
alias pull='git pull && git fetch --prune'
alias s='git status'
alias sbp='source ~/.bash_profile'
alias sl='git log --graph --oneline --branches'
alias stage='git add . && git commit --amend && git staging'
alias t='./gradlew testStandardDebug --tests'
alias updatesub='git submodule update'
alias usub='git submodule update'
alias grbc='git add . && git rebase --continue'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment