Web Developer in Ruby on Rails and CakePHP
RSS icon Email icon Home icon
  • Textmate and Git Bundle

    I just recently had this problem and saw that the answer was buried in a TextMate blog entry comment thread.

    Are you getting the following error whenever you try to use the bundle?

    sh: git: command not found

    Did you install git through Macports or manually compile the source? Could your Git bundle for TextMate be a tad old?

    All of the above was true for me, but I was easily able to solve the issue with the following command:

    sudo ln -s /opt/local/bin/git /usr/bin/git

    Hope that cuts back on troubleshooting time for some of you out there!

  • Mac OS X Terminal Aliases

    Partly because I wanted to post more and partly because I transfer computers a lot and I figure a blog is as good place as any to share my thoughts with, well, myself.

    Here’s a list of aliases I’ve collected over the times searching the Internet (note: so far, not so many, but that’ll change as I keep finding more).

    To be put in ~/.bash_profile:

    alias ls='ls -aFhlG'
    alias ll='ls -l'
    alias search=grep
    alias ..='cd ..'
    alias ...='cd ../..'
    alias bake='/opt/local/apache2/htdocs/cake/cake/console/cake bake'
    alias cake='cd /opt/local/apache2/htdocs/cake'
    

    If anyone wants more detailed explanation of any or all of these, or if you’d like to know what in the bejesus I’m even talking about, post a comment.

    Oh, and I would also happily welcome further suggestions too.