diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index b7427e4b..62058e63 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -63,3 +63,5 @@ pushall() { } set completion-ignore-case On + +export GITHUB_TOKEN="$(pass show github/token)" \ No newline at end of file diff --git a/dotfiles/.config/git/config b/dotfiles/.config/git/config index 3d2085f9..34156156 100644 --- a/dotfiles/.config/git/config +++ b/dotfiles/.config/git/config @@ -1,4 +1,8 @@ [user] email = "ehtrude@gmail.com" name = "TrudeEH" -password = $(pass show github/token) +password = $GITHUB_TOKEN + + +[credential] + helper = cache