]> gitweb.pimeys.fr Git - config-20-100.git/blobdiff - .bashrc
Merge branch 'master' into perso
[config-20-100.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index f328f7e8e582c7ec4c282cff05a9fdb43c686621..056648669e183a16ef4d5d7c4dd6b50afc5c5cc4 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -400,7 +400,7 @@ vcs_info(){
         if [[ disabled[${vcss[$i]}] -eq 1 ]]; then
             continue
         fi
-        commands[${vcss[$i]}]=$(which ${vcss[$i]});
+        commands[${vcss[$i]}]=$( (which ${vcss[$i]} 2>/dev/null >&2 && which ${vcss[i]})||echo true);
     done;
 
     found=0