aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-06-08 17:59:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-06-08 17:59:01 -0300
commitc7962b6b212f5712d4a4054504335e20047b0f51 (patch)
treee632021c964854c14b96b236ed4e7ad80c561caf
parent3b53af84ce0f3e20758d12971cd1803222250b9b (diff)
downloadprofile-c7962b6b212f5712d4a4054504335e20047b0f51.tar.gz
profile-c7962b6b212f5712d4a4054504335e20047b0f51.tar.bz2
Fix git completion eval
-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