Modification de Bash : Prompt avec statut SVN
La modification peut être annulée. Veuillez vérifier les différences ci-dessous pour voir si c’est bien ce que vous voulez faire, puis publier ces changements pour finaliser l’annulation de cette modification.
Version actuelle | Votre texte | ||
Ligne 57 : | Ligne 57 : | ||
echo $SVNSTATUS | grep 'not a working copy' 2>&1 > /dev/null | echo $SVNSTATUS | grep 'not a working copy' 2>&1 > /dev/null | ||
if [ $? -eq 1 ]; then | if [ $? -eq 1 ]; then | ||
echo $SVNSTATUS | grep -P '\s[AMDCR] | echo $SVNSTATUS | grep -P '^\s*[AMDCR]' 2>&1 > /dev/null | ||
if [ $? -eq 0 ]; then | if [ $? -eq 0 ]; then | ||
RIGHTPROMPT=$Red | RIGHTPROMPT=$Red |