github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

lachie / dotfiles

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 6
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Tree: cb148e0

click here to add a description

click here to add a homepage

  • Branches (1)
    • master
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

My pitiful dotfiles. Now includes some fish shell goodness. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

added webapp detection 
lachie (author)
Thu Mar 05 21:05:06 -0800 2009
commit  cb148e04bd495ab01defb17b56510199a2fbe12d
tree    d2fc2aad605c0fd231aadebce884a2e357c09926
parent  ebed7771503acbef2dc2a879c715d5db36b9bf5f
dotfiles / .config / fish / functions / s.fish .config/fish/functions/s.fish
100644 14 lines (12 sloc) 0.234 kb
edit raw blame history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function s
  switch (__detect_webapp)
    case rails
      ./script/server $argv
    case merb_bundle
      ./bin/merb $argv
    case merb
      merb $argv
    case '*'
      echo "doesn't look like you're in a web app!"
  end
  
end
 
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server