Update aliases

This commit is contained in:
Michael Campagnaro 2017-08-21 14:26:38 -04:00
parent 9767cdd724
commit 215e03aa34

17
aliases
View File

@ -95,6 +95,8 @@ alias rb='rbenv'
alias rbg='rbenv gemset active' alias rbg='rbenv gemset active'
alias rbp='cd $RBENV_PATH/versions/$(rbenv version | sed -e "s/ (set.*$//")' alias rbp='cd $RBENV_PATH/versions/$(rbenv version | sed -e "s/ (set.*$//")'
alias rbl='cd $RBENV_PATH/versions/$(rbenv version | sed -e "s/ (set.*$//")/lib/ruby' alias rbl='cd $RBENV_PATH/versions/$(rbenv version | sed -e "s/ (set.*$//")/lib/ruby'
alias rc='rclone'
alias rcc='rclone copy'
function reload { function reload {
if [[ $platform == 'Linux' || $platform == 'Darwin' ]]; then if [[ $platform == 'Linux' || $platform == 'Darwin' ]]; then
@ -157,6 +159,7 @@ alias gcl='git clone'
alias gcm="git commit -m" alias gcm="git commit -m"
alias gcms="git commit -S -m" alias gcms="git commit -S -m"
alias gco='git checkout' alias gco='git checkout'
alias gco-='git checkout -'
alias gcob='git checkout -b' alias gcob='git checkout -b'
alias gcon='vi .git/config' alias gcon='vi .git/config'
alias gcp='git cherry-pick' alias gcp='git cherry-pick'
@ -171,6 +174,7 @@ alias gdw='git diff --color-words'
alias gf='git fetch' alias gf='git fetch'
alias gfa='git fetch --all' alias gfa='git fetch --all'
alias gfix="git commit --amend -C HEAD" alias gfix="git commit --amend -C HEAD"
alias gfixx="git commit --amend -C HEAD ; gp -f"
alias gfixs="git commit -S -a --amend -C HEAD" # signed alias gfixs="git commit -S -a --amend -C HEAD" # signed
alias gfo='git fetch origin' alias gfo='git fetch origin'
alias gfm='git fetch origin master' alias gfm='git fetch origin master'
@ -237,12 +241,13 @@ alias gsdl='git stash drop stash@{0}'
alias gsl='git stash list' alias gsl='git stash list'
alias gsi='git stash -p' alias gsi='git stash -p'
alias gsp='git stash pop' alias gsp='git stash pop'
alias gsp1='git stash pop stash@{0}' alias gsp0='git stash pop stash@{0}'
alias gsp2='git stash pop stash@{1}' alias gsp1='git stash pop stash@{1}'
alias gsp3='git stash pop stash@{2}' alias gsp2='git stash pop stash@{2}'
alias gsp4='git stash pop stash@{3}' alias gsp3='git stash pop stash@{3}'
alias gsp5='git stash pop stash@{4}' alias gsp4='git stash pop stash@{4}'
alias gsp6='git stash pop stash@{5}' alias gsp5='git stash pop stash@{6}'
alias gsp6='git stash pop stash@{7}'
alias gt='git tag' alias gt='git tag'
alias gta='git tag -a' alias gta='git tag -a'
alias gtd='git tag -d' alias gtd='git tag -d'