From 15290c522cd853fefee7840ba0a379d0795e33ee Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sun, 9 Feb 2020 12:42:29 -0500 Subject: [PATCH] Cleanup up pushdot and git now stores credentials --- .gitconfig | 2 ++ .zshrc | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitconfig b/.gitconfig index aef06a0..1fe3f6f 100644 --- a/.gitconfig +++ b/.gitconfig @@ -3,3 +3,5 @@ email = sagev9000@tutanota.com [core] autocrlf = input +[credential] + helper = store diff --git a/.zshrc b/.zshrc index 5ff2cc3..79937ce 100644 --- a/.zshrc +++ b/.zshrc @@ -127,9 +127,7 @@ export fsu="vaillanc@linprog.cs.fsu.edu" export EDITOR='vim' function pushdot { - cd ~/.dotfiles - git add .* - git commit - git push -u origin master + cd ~/.dotfiles && + git add .* && git commit && git push -u origin master cd - }