amend create ps1

This commit is contained in:
a-sansara 2016-08-06 17:37:41 +02:00
parent 7dfd83b51c
commit 4824f4aedf
3 changed files with 11 additions and 2 deletions

Binary file not shown.

View File

@ -18,7 +18,6 @@ function bash_prompt() {
local Csymbol="\[\033[1;38;5;15m\]" local Csymbol="\[\033[1;38;5;15m\]"
local Cuser="\[\033[1;38;5;203m\]" local Cuser="\[\033[1;38;5;203m\]"
local Coff="\[\033[m\]" local Coff="\[\033[m\]"
export PS1="${Cdate}\t ${Cwhite}${Cctx} DOCKER ${SHENV_CTX} ${Cname} ${SHENV_NAME} ${Coff} ${Cuser}\u${Chost}@\h ${Cpath}\w ${Csymbol}\$ ${Coff}" export PS1="${Cdate}\t ${Cwhite}${Cctx} DOCKER ${SHENV_CTX} ${Cname} ${SHENV_NAME} ${Coff} ${Cuser}\u${Chost}@\h ${Cpath}\w ${Csymbol}\$ ${Coff}"
} }

10
pluie/build Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
# @app docker-images
# @author a-Sansara https://git.pluie.org/pluie/docker-images
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TAG=${1:-''}
for project in `ls -d */`; do
cd "$DIR/$project"
./build "$tag"
done