annotate newls @ 1949:d0c2f785ab13

<oerjan> fetch http://oerjan.nvg.org/newls
author HackBot
date Fri, 01 Feb 2013 21:43:57 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1949
d0c2f785ab13 <oerjan> fetch http://oerjan.nvg.org/newls
HackBot
parents:
diff changeset
1 #!/bin/sh
d0c2f785ab13 <oerjan> fetch http://oerjan.nvg.org/newls
HackBot
parents:
diff changeset
2 if [[ "$@" =~ "wisdom(/)\?" ]];
d0c2f785ab13 <oerjan> fetch http://oerjan.nvg.org/newls
HackBot
parents:
diff changeset
3 then; echo "As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead.";
d0c2f785ab13 <oerjan> fetch http://oerjan.nvg.org/newls
HackBot
parents:
diff changeset
4 else; exec /bin/ls "$@";
d0c2f785ab13 <oerjan> fetch http://oerjan.nvg.org/newls
HackBot
parents:
diff changeset
5 fi