view bin/ls @ 4211:d616398f84e7

<fizzie> sed -i -e \'s/| head //\' bin/quoth # gonna bork it up somehow...
author HackBot
date Fri, 20 Dec 2013 13:57:08 +0000
parents 3ac74d492f74
children 14b11efeb271
line wrap: on
line source

#!/bin/bash
if /bin/ls -id "$@" 2>/dev/null | grep -q ^969195 ; 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