annotate newls @ 1946:e368d3a81f5a

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