From 14c87b9848ef0e966a4ed6ea8441e2625bf4944c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 25 Aug 2014 21:55:17 -0700 Subject: [PATCH] Working on tgit. --- dotfiles/gitignore | 5 ++++- dotfiles/lib/shellrc/functions.sh | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dotfiles/gitignore b/dotfiles/gitignore index 4ded2c82..02c0a869 100644 --- a/dotfiles/gitignore +++ b/dotfiles/gitignore @@ -21,4 +21,7 @@ Thumbs.db TAGS run_tests.sh untracked/ -.ropeproject/ \ No newline at end of file +.ropeproject/ + +*.sw* +*.tmp* \ No newline at end of file diff --git a/dotfiles/lib/shellrc/functions.sh b/dotfiles/lib/shellrc/functions.sh index c748f301..337011a6 100644 --- a/dotfiles/lib/shellrc/functions.sh +++ b/dotfiles/lib/shellrc/functions.sh @@ -226,3 +226,7 @@ function get_keyboard_vendor_id_product_id_pairs() { function ss() { osascript -e "tell application \"/System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app\" to activate" } + +function git_config_string() { + git config -f $1 --list | xargs -I kv sh -c "echo "\'kv\'"" +}