bash/ps1/real
This commit is contained in:
parent
0b7e362582
commit
ffb301e21b
1 changed files with 4 additions and 5 deletions
|
@ -21,13 +21,12 @@ local view="\
|
||||||
view="${view} –\e[0;35m${git}\e[0m"
|
view="${view} –\e[0;35m${git}\e[0m"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
view="${view}
|
|
||||||
┌ "
|
|
||||||
if [ "${path}" != "${real}" ] ; then
|
if [ "${path}" != "${real}" ] ; then
|
||||||
view="${view}\e[0;36m${real}\e[0m
|
view="${view}
|
||||||
├ "
|
\e[0;36m${real}\e[0m"
|
||||||
fi
|
fi
|
||||||
view="${view}\e[0;36m${path}\e[0m
|
view="${view}
|
||||||
|
┌ \e[0;36m${path}\e[0m
|
||||||
${PS2}"
|
${PS2}"
|
||||||
echo -e "${view}"
|
echo -e "${view}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue