comparison bin/newls @ 1953:5a587aedd993

<oerjan> mv newls bin
author HackBot
date Fri, 01 Feb 2013 21:50:43 +0000
parents 42bcc3efd5c5
children 85db0d725f1e
comparison
equal deleted inserted replaced
1952:fe0e03799400 1953:5a587aedd993
1 #!/bin/sh 1 #!/bin/sh
2 if [[ "$@" =~ "wisdom(/)\?" ]]; 2 if [[ "$@" == wisdom || "$@" == wisdom/ ]];
3 then; echo "As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead."; 3 then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead.';
4 else; exec /bin/ls "$@"; 4 else exec /bin/ls "$@";
5 fi 5 fi