Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6073637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:17:34+00:00 2026-05-23T10:17:34+00:00

I use textmate for website development and compass to compile css stylesheets. Right now

  • 0

I use textmate for website development and compass to compile css stylesheets. Right now everytime I open up the folder with textmate I have to additionally run a compass watch /path/to/folder command. I know textmate is pretty powerfull, but not sure how to make it work so the compass watch command is automatically applied to projects you open with textmate (I usually drag the projectfolder on the dock-icon). Is this possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:17:35+00:00Added an answer on May 23, 2026 at 10:17 am

    Sure thing. You will need to make a small function in your .bashrc file.

    I based the function below off an alias I create for SublimeText2 to make it work like “mate dir/” (a feature I missed greatly):

    #Sublime Text Alias
    alias slime='open -a "/Applications/Sublime Text 2.app"'
    

    So, you don’t really want an alias to run two commands, since an alias is…an “alias” for a specific command. However, a function is well suited:

    #for Textmate
    function matew() {
        open -a "/Applications/TextMate.app" $1
        compass watch $1
    }
    

    I picked “matew” – cause it was like mate+watch, but you can call your function whatever you will remember. (e.g epicPwn(), etc) Thus, your new function is run as:

    matew dirName/
    

    Note: Just be sure to put the correct path to TextMate. Also, the compass watch command will fowl up if you aren’t passing a directory, obviously. Similarly if the directory doesn’t have a compass project -> compass watch will spit back a standard “no project” error (but TM will still open the dir/). e.g.:

    matew src/
    Nothing to compile. If you're trying to start a new project, you have left off the directory argument.
    Run "compass -h" to get help.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently use TextMate for Ruby/Javascript/Actionscript development and it is amazing. But one thing
I use the latest version of textmate for all my Rails development needs and
In TextMate , one can use ctrl-shift-w to wrap text in an Open/Close tag
I have made the move from TextMate to VIM. I can not use macvim,
Let me preface this question by saying I use TextMate on Mac OSX for
so far i only know to use Ctrl-Shift-A to do SVN in TextMate. is
use this website a lot but first time posting. My program creates a number
Use case: I've just entered insert mode, and typed some text. Now I want
I primarily use Textmate for perl hacking on OSX Snow Leopard. It was all
I currently use Textmate for most of my editing, but am taking a Java

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.