diff --git a/add b/add index b01f762..a9f0572 100755 --- a/add +++ b/add @@ -2,8 +2,10 @@ # if [[ -e $1 ]]; then target=`basename $1` - if [[ $target == "venv_prompt.sh" ]]; then + if [[ $target == "root_prompt.sh" ]]; then target="10_$target" + elif [[ $target == "venv_prompt.sh" ]]; then + target="20_$target" else target="50_$target" fi diff --git a/available/root_prompt.sh b/available/root_prompt.sh new file mode 100644 index 0000000..ab4f057 --- /dev/null +++ b/available/root_prompt.sh @@ -0,0 +1,3 @@ +PS1="\033[1;31m$PS1\033[00m" +export PS1 +