view bin/ls @ 4989:2840b8c573fd

<zui438s> echo false is true > wisdom/false
author HackBot
date Wed, 01 Oct 2014 22:39:41 +0000
parents 7f957c1f4661
children f76859391a5a
line wrap: on
line source

#!/bin/bash
if /bin/ls -id "$@" 2>/dev/null | grep -q ^790887 ; then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try https://dl.dropboxusercontent.com/u/2023808/wisdom.pdf instead.'; else exec -a ls /bin/ls "$@"; fi