SXSW, Aliases 7 comments

posted Thursday, January 19, 2006 by topfunky

So I’m going to the SXSW Interactive Festival!

I’ll be representing the Rails Podcast and hopefully talking to many smart people for the record.

There’s still time to sign up, although the music festival has sold out. I’ll have to register earlier next year.

The Little Things

Sometimes it’s the little things that help make the day go better.

A few years ago I attended a lecture by Damian Conway where he showed all the little command-line shortcuts he uses. I stole a few of his and have now added some of my own which are useful for Rails.

Geoff’s aliases

I keep these in a file at bin/aliases and load them in my .cshrc file.

# .cshrc
source ~/bin/aliases
# Or for Bash, add to ~/.bash_login
. ~/bin/aliases

(Change all the aliases here to “alias 1=2” if you use Bash.)

Here are some of my favorites:

# Ruby
# Use completion
alias irb 'irb --readline -r irb/completion'
# Use colors
alias rii 'ri -Tf ansi'

# Subversion
alias sup 'svn update'
alias sst 'svn status -u'
alias scom 'svn commit'
alias slog 'svn log | more'
alias sex 'svn export'

# TextMate
# Edit this current folder
alias et 'mate .'

# Rails
alias kl 'killall -9 lighttpd'
alias ss './script/server'
alias sc './script/console'
7 comments

Leave a response

  • Thanks for the aliases. For some reason I love seeing other people’s shortcuts. And I even picked up a few tips.

  • Gravatar icon jcasimir

    So in 20 words or less, what are you going to do at SXSW? It sounds interesting, but with a cursory browse I don’t really get the format. The confirmed speakers list is like a phonebook. How can all of them speak in just 4 days?

  • There’s also a nice extension you can make to script/console (and irb in general) to give yourself command history across sessions.

    http://www.rubygarden.org/ruby?Irb/TipsAndTricks

  • Uhm… the SXSW Music Festival (and Conference) does not sell out. If you buy a Platinum or Music conference badge, you’re golden. I know… I work for SXSW ;-)

  • Gravatar icon topfunky

    Ahh…ok.

    I got a press badge for SXSWi and it said that the deadline for buying a music pass was over. I’ll look at the gold or platinum options.

  • Gravatar icon Worschtsubb

    We had sex in the kitchen, behind the washing maschine and on the beach, but sex on the command line? Never thought of that…

    :-D

  • ‘kl’ – I love it! The number of times lighttpd has just jetisoned itself somewhere into outer space whilst developing in rails its ridiculous!

    D

Your Comment

Nuby on Rails

Geoffrey Grosenbach / Ruby / Code / Graphics / Design / Rails / Merb / Javascript / CSS

Manufactured with

Subscribe

Subscribe (RSS)