Thomas Glanzmann wrote:
and as you can see by the
pastes that I provided to track down the bug I have
if [ $UID -eq 0 ]; then
export PS1="(${PROMPT_RED}\h${PROMPT_END}) [${PROMPT_BLUE}\w${PROMPT_END}] ";
alias bk='echo DO *NOT* RUN BK AS ROOT'
alias git='echo DO *NOT* RUN GIT AS ROOT'
alias links='echo DO *NOT* RUN LINKS AS ROOT'
alias elinks='echo DO *NOT* RUN ELINKS AS ROOT'
And if you have a file NOTES in $pwd, it will tell you:
DO NOTES RUN GIT AS ROOT
;-P
-- Hannes