From a4e758ec5dc2e2eee8e95cf8b3da3256c99fabd8 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Tue, 17 Apr 2018 17:01:52 +0400 Subject: [PATCH] pff: afficher la version du projet --- lib/profile.d/bash_prompt.shared | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/profile.d/bash_prompt.shared b/lib/profile.d/bash_prompt.shared index 41cb7ed..ea9f332 100644 --- a/lib/profile.d/bash_prompt.shared +++ b/lib/profile.d/bash_prompt.shared @@ -58,7 +58,7 @@ if [ -n "$UTOOLS_AUTO" ]; then if [ -z "$pff" -a -d "$p/pff" -a -f "$p/.pff.conf" ]; then flag=pff if [ -L "$p/pff/.Current" ]; then - flag="$flag:$(readlink "$p/pff/.Current")" + flag="$flag$(source "$p/.pff.conf" 2>/dev/null; echo "${VERSION:+:$VERSION}"):$(readlink "$p/pff/.Current")" fi PS1="${PS1:+$PS1,}$flag" pff=1