From a5b49c9c77da1f4b6c8d02ffc116d432853d38ef Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sat, 18 Jul 2015 18:43:40 -0400 Subject: [PATCH] Added g x and modified con command --- git/gitconfig | 1 + shells/zshrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/git/gitconfig b/git/gitconfig index c04dfd1..09fd33e 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -18,6 +18,7 @@ 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" 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] default = matching [core] diff --git a/shells/zshrc b/shells/zshrc index 1a3de38..ae045e2 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -30,7 +30,7 @@ if [ "$(uname)" != "Darwin" ]; then alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"' fi alias sudo='sudo ' -alias con='php app/console' +alias con='git x php app/console' alias srm='srm -dv' alias disphost='export DISPLAY=:0.0' alias ll='ls -AglhF'