-
Notifications
You must be signed in to change notification settings - Fork 1
Cookbook
jaybuff edited this page Mar 11, 2011
·
5 revisions
It's important to know what joot you're currently in. Joot sets an environment variable, JOOT_NAME
so you can keep track of this.
$ echo $JOOT_NAME
ats-build
$
If you use bash
you can set your prompt to tell you what joot you're in by adding something like this in your .bash_profile
if [ ! -z $JOOT_NAME ]; then
export PS1="[\u@\H =>$JOOT_NAME<= \W]\n\t \\$ "
fi
TODO explain how /etc/sudoers works and give example snippet