Mercurial > repo
changeset 3960:3ac74d492f74
<FireFly> sed -i \'s#`pastewisdom#https://dl.dropboxusercontent.com/u/2023808/wisdom.pdf#\' bin/ls # ought to work
author | HackBot |
---|---|
date | Wed, 30 Oct 2013 17:03:56 +0000 |
parents | 631fd694de4e |
children | a064e90c6dba |
files | bin/ls |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/ls Wed Oct 30 16:45:16 2013 +0000 +++ b/bin/ls Wed Oct 30 17:03:56 2013 +0000 @@ -1,2 +1,2 @@ #!/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 `pastewisdom instead.'; else exec -a ls /bin/ls "$@"; fi +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