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\'"" +}