Fix some aliases
This commit is contained in:
parent
ac8927b994
commit
3af2d0703c
|
@ -52,7 +52,7 @@ b() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
cdd() { cd "$@" 2>/dev/null || cd "$(dirname "$1")" "${@:2}" }
|
cdd() { cd "$@" 2>/dev/null || cd "$(dirname "$1")" "${@:2}" }
|
||||||
tr() { tree -C -a -L 2 "$@" | less }
|
tr() { tree -a -L 2 --du -h -C "$@" | less }
|
||||||
alias sc='sudo systemctl'
|
alias sc='sudo systemctl'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ alias gfs='git fetch && git status -s -b'
|
||||||
alias glu='git pull upstream $(git curbranch)'
|
alias glu='git pull upstream $(git curbranch)'
|
||||||
alias gluu='git pull upstream $(git curbranch) && git push --no-verify'
|
alias gluu='git pull upstream $(git curbranch) && git push --no-verify'
|
||||||
alias gcap!='git commit --all --amend --no-edit && git push --force-with-lease'
|
alias gcap!='git commit --all --amend --no-edit && git push --force-with-lease'
|
||||||
alias gpf='gt push --force-with-lease'
|
alias gpf='git push --force-with-lease'
|
||||||
alias grh='git reset HEAD~'
|
alias grh='git reset HEAD~'
|
||||||
alias grh!='git reset --hard'
|
alias grh!='git reset --hard'
|
||||||
alias grhr='git reset --hard $(git rev-parse --abbrev-ref --symbolic-full-name @{u})'
|
alias grhr='git reset --hard $(git rev-parse --abbrev-ref --symbolic-full-name @{u})'
|
||||||
|
|
Loading…
Reference in New Issue