Tip: Move to directory and open in TextMate
Since adding this to my zsh configuration, I’m finding I use it all the time:
# Change directory and open TextMate in a single command
# Usage: tm ~/Projects/sites/tomafro.net
tm() {
cd $1
mate $1
}
Since adding this to my zsh configuration, I’m finding I use it all the time:
# Change directory and open TextMate in a single command
# Usage: tm ~/Projects/sites/tomafro.net
tm() {
cd $1
mate $1
}