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 / __detect_webapp.fish .config/fish/functions/__detect_webapp.fish
100644 20 lines (15 sloc) 0.222 kb
edit raw blame history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function __detect_webapp
  if test -d 'script'
    echo rails
    return
  end
 
  if test -d 'config'
    if test -d 'bin'
      echo merb_bundle
    else
      echo merb
    end
 
    return
  end
  
  echo "unknown"
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