Added g x and modified con command

This commit is contained in:
Austen Adler 2015-07-18 18:43:40 -04:00
parent 00a9525329
commit a5b49c9c77
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@
nbranch = !sh -c 'git branch $1&&git reset --hard HEAD~1&&git co \"$1\"' - nbranch = !sh -c 'git branch $1&&git reset --hard HEAD~1&&git co \"$1\"' -
size = "!git diff --cached --binary | wc -c | numfmt --to=iec-i" size = "!git diff --cached --binary | wc -c | numfmt --to=iec-i"
wipe = !sh -c 'git filter-branch --prune-empty -f --index-filter \\\\\"git rm -rf --cached --ignore-unmatch \\\"$1\\\"\\\\\" --tag-name-filter cat -- --all' - wipe = !sh -c 'git filter-branch --prune-empty -f --index-filter \\\\\"git rm -rf --cached --ignore-unmatch \\\"$1\\\"\\\\\" --tag-name-filter cat -- --all' -
x = "!exec "
[push] [push]
default = matching default = matching
[core] [core]

View File

@ -30,7 +30,7 @@ if [ "$(uname)" != "Darwin" ]; then
alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"' alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"'
fi fi
alias sudo='sudo ' alias sudo='sudo '
alias con='php app/console' alias con='git x php app/console'
alias srm='srm -dv' alias srm='srm -dv'
alias disphost='export DISPLAY=:0.0' alias disphost='export DISPLAY=:0.0'
alias ll='ls -AglhF' alias ll='ls -AglhF'