qwandry/templates/init.rb

55 lines
1.7 KiB
Ruby

# ~/.qwandry/init.rb
#
# This file lets you configure where and how Qwandry looks for packages to open.
#
# To learn more about Qwandry, take a look at the source with qwandry!
# qw qwandry
# You can uncomment the indented code to try it out.
# If you get confused, just delete this file and run the customize command again.
# == Adding Personal Projects
#
# If you keep all your projects in the home directory under projects,
# you can tell Qwandry to search there.
#
# add :projects, "~/Projects/"
# == Setting Defaults
# To make `projects` a default search path, activate `projects`:
#
# activate :projects
#
# If you don't use ruby, you can de-activate it:
#
# deactivate :ruby
# == Common Repositories
# Below are some common configurations you might find useful, these may vary
# from system to system.
# = Haskel
# Open Cabal packages:
# add :ghc, "~/.cabal/lib"
# Open Haskel system libraries:
# add :ghc, "/usr/local/lib/ghc/"
# = Python
# Open python standard libraries, but ignore the *.pyo and *.pyc files:
# add :python, "/usr/lib/python2.6/",
# :class => Qwandry::LibraryRepository,
# :reject => '*.py[oc]'
# = Ruby
# Qwandry comes set up for ruby by default, however you may want to be able to
# quickly access the ruby sources.
#
# If you installed ruby with `rvm`, your path might be something like this:
# add :cruby, "~/.rvm/src/ruby-1.9.1-p378/"
# = Javascript / Node
# Edit node.js and npm managed libraries.
# Configure a :node repository showing only the active versions of each library:
# add :node, "/usr/local/lib/node/", :reject=> /@/
# # Configure a :npm repository showing only the versioned libraries:
# add :npm, "/usr/local/lib/node/", :accept=> /@/