Newer
Older
barebox / arch / arm / boards / versatile / env / init / ps1
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD on 5 Jan 2015 148 bytes versatilepb: switch to defaultenv-2
#!/bin/sh

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