Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH] Do _not_ call unlink on a directory

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:43:22

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help