Extends configs and colorschemes

This commit is contained in:
William Carroll 2017-01-05 20:39:32 -05:00
parent f2663c5b37
commit 328d4b246b
5 changed files with 201 additions and 42 deletions

View file

@ -4,6 +4,16 @@ function wgbranch {
}
# compare file with another branch
function wgcompare_file {
file_path="$1"
compare_branch_a="master"
compare_branch_b="$(wgbranch)"
git diff "${compare_branch_a}:${file_path}" "${compare_branch_b}:${file_path}"
}
# output the stash ticket number to STDOUT
function wgtix {
wgbranch | perl -p -e 's/(?:feature|bugfix|refactor)\/(\w+-\d+).+$/\1/'