From fc1bf76fde67eb913adff2f50eeef0d4a468df4a Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Sun, 6 Aug 2017 20:35:17 +0500 Subject: Updates. - [git] new aliases and ignore Infinitest files - [offlineimap] remove backend option, it's set by default - [vim] enable spellchecking by default - [vim] format JSON with jq - [zsh] run ip via grc coloring - [zsh] ledger command easy query by camelcase --- files/.gitconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'files/.gitconfig') diff --git a/files/.gitconfig b/files/.gitconfig index e657f8f..b88d000 100644 --- a/files/.gitconfig +++ b/files/.gitconfig @@ -33,7 +33,10 @@ ka = !sh -c 'gitk --all' - kb = !sh -c 'gitk --branches' - lg = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative + l = "!git lg -10" + f = !sh -c 'git branch | grep -F "feature/$1" | xargs -r -n 1 git co' - st = status + stashlist = stash list --date=short addnw = !sh -c 'git diff --unified=0 --ignore-all-space --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero -' branch-name = "!git rev-parse --abbrev-ref HEAD" publish = "!git push -u origin $(git branch-name)" -- cgit v1.2.3