support docker-machine use
This commit is contained in:
parent
e6be47eb32
commit
3293d09e90
|
@ -23,6 +23,9 @@ if [ -n "$UTOOLS_BASH_PROMPT" ]; then
|
||||||
local cvs svn git pff uinst woinst suffix p="$PWD"
|
local cvs svn git pff uinst woinst suffix p="$PWD"
|
||||||
if [ -n "$UTOOLS_AUTO" ]; then
|
if [ -n "$UTOOLS_AUTO" ]; then
|
||||||
PS1=
|
PS1=
|
||||||
|
if [ "$DOCKER_MACHINE_WRAPPED" == true -a -n "$DOCKER_MACHINE_NAME" ]; then
|
||||||
|
PS1="DK-|$DOCKER_MACHINE_NAME|"
|
||||||
|
fi
|
||||||
while [ "$p" != "$HOME" -a "$p" != "" ]; do
|
while [ "$p" != "$HOME" -a "$p" != "" ]; do
|
||||||
if [ -z "$cvs" -a -d "$p/CVS" ]; then
|
if [ -z "$cvs" -a -d "$p/CVS" ]; then
|
||||||
PS1="${PS1:+$PS1,}cvs$suffix"
|
PS1="${PS1:+$PS1,}cvs$suffix"
|
||||||
|
|
Loading…
Reference in New Issue