Newer
Older
barebox / defaultenv-2 / base / init / ps1
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD on 21 Jan 2013 169 bytes defaultenv-2: move ps1 to base/init/ps1
#!/bin/sh

/env/config

if [ ${global.allow_color} = "true" ]; then
        export PS1="\e[1;32mbarebox@\e[1;36m\h:\w\e[0m "
else
        export PS1="barebox@\h:\w "
fi