Mercurial > repo
annotate bin/ls @ 4106:2c6f67282daa
<oerjan> ln -s wisdom/{,"stephen "}wolfram
author | HackBot |
---|---|
date | Sat, 30 Nov 2013 23:29:24 +0000 |
parents | 3ac74d492f74 |
children | 14b11efeb271 |
rev | line source |
---|---|
3959 | 1 #!/bin/bash |
3960
3ac74d492f74
<FireFly> sed -i \'s#`pastewisdom#https://dl.dropboxusercontent.com/u/2023808/wisdom.pdf#\' bin/ls # ought to work
HackBot
parents:
3959
diff
changeset
|
2 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 |