changeset 1952:fe0e03799400

<oerjan> fetch http://oerjan.nvg.org/newls
author HackBot
date Fri, 01 Feb 2013 21:50:36 +0000
parents 30fa75f7e197
children 5a587aedd993
files newls
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/newls	Fri Feb 01 21:50:36 2013 +0000
@@ -0,0 +1,5 @@
+#!/bin/sh
+if [[ "$@" == wisdom || "$@" == wisdom/ ]];
+then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead.';
+else exec /bin/ls "$@";
+fi