annotate newls @ 1955:dd820ac0c081

<oerjan> fetch http://oerjan.nvg.org/newls
author HackBot
date Fri, 01 Feb 2013 21:53:15 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1955
dd820ac0c081 <oerjan> fetch http://oerjan.nvg.org/newls
HackBot
parents:
diff changeset
1 #!/bin/sh
dd820ac0c081 <oerjan> fetch http://oerjan.nvg.org/newls
HackBot
parents:
diff changeset
2 if [ "$@" = wisdom -o "$@" = wisdom/ ];
dd820ac0c081 <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.';
dd820ac0c081 <oerjan> fetch http://oerjan.nvg.org/newls
HackBot
parents:
diff changeset
4 else exec /bin/ls "$@";
dd820ac0c081 <oerjan> fetch http://oerjan.nvg.org/newls
HackBot
parents:
diff changeset
5 fi