Warning: include(/nfs/c01/h15/mnt/13896/domains/randsinrepose.com/html/wp-content/plugins/wp-super-cache/wp-cache-base.php) [function.include]: failed to open stream: No such file or directory in /nfs/c01/h06/mnt/13896/domains/randsinrepose.com/html/wp-content/plugins/wp-super-cache/wp-cache.php on line 65

Warning: include() [function.include]: Failed opening '/nfs/c01/h15/mnt/13896/domains/randsinrepose.com/html/wp-content/plugins/wp-super-cache/wp-cache-base.php' for inclusion (include_path='.:/usr/local/php-5.3.29/share/pear') in /nfs/c01/h06/mnt/13896/domains/randsinrepose.com/html/wp-content/plugins/wp-super-cache/wp-cache.php on line 65

Warning: include_once(/nfs/c01/h15/mnt/13896/domains/randsinrepose.com/html/wp-content/plugins/wp-super-cache/ossdl-cdn.php) [function.include-once]: failed to open stream: No such file or directory in /nfs/c01/h06/mnt/13896/domains/randsinrepose.com/html/wp-content/plugins/wp-super-cache/wp-cache.php on line 82

Warning: include_once() [function.include]: Failed opening '/nfs/c01/h15/mnt/13896/domains/randsinrepose.com/html/wp-content/plugins/wp-super-cache/ossdl-cdn.php' for inclusion (include_path='.:/usr/local/php-5.3.29/share/pear') in /nfs/c01/h06/mnt/13896/domains/randsinrepose.com/html/wp-content/plugins/wp-super-cache/wp-cache.php on line 82
.tcshrc aliases – Rands in Repose

.tcshrc aliases

Over at NSLog(), they’re chatting about their favorite .tcshrc aliases. Given the time I’m spending at terminal in Mac OS X, finding a great script can mean huge, instant time saving as well as the discovery of, yet another, utility which ships with the OS that I had no clue existed… case in point, the curl utility.

My meager contribution… directory list by recently changed:

alias lr ‘ls -lagFqt \!*’

3 Responses

  1. you don’t need the `\!*’.

    here’s one cute/dumb hack I’m proud of (slightly sanitized by using foo instead of what I normal call it):

    alias foo ‘set FOO=”oneof `cat ~/foo.txt`”; set FOO=`$FOO`; curl -s $FOO | xv -root -quit -rmode 4 -‘

    foo.txt is a list of urls separated by newlines. oneof is a dumb perl hack that returns one of its arguments to stdout. so, it sets the variable FOO to be a call to oneof, then executes it saving the result to FOO, then curls it to xv to display it as a background.

    two bits of hackish cuteness: (1) the result of the execution of FOO is saved back to FOO, and (2) FOO ends up, afterward, with the url of the randomly chosen file.

  2. looks much better as ‘ls -lFagqt’

    My favourite Informix DB command is ‘onmode -yuck’ (brings the engine down to offline mode)