aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profile.dot.link2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.dot.link b/profile.dot.link
index 1e5a207..290b4b4 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -40,7 +40,7 @@ export GIT_PS1_SHOWDIRTYSTATE=""
export GIT_PS1_SHOWUNTRACKEDFILES=""
# Loaded git completion if needed
-if ! type __git_ps1 | head -1 | grep -q function; then
+if ! type __git_ps1 2> /dev/null | head -1 | grep -q function; then
source /etc/bash_completion.d/git-prompt
fi