2010-11-14 21:39:28 +00:00
|
|
|
# ~/.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
|
2010-12-08 03:07:04 +00:00
|
|
|
|
2010-11-14 21:39:28 +00:00
|
|
|
# You can uncomment the indented code to try it out.
|
2010-12-08 03:07:04 +00:00
|
|
|
# If you get confused, just delete this file and run the customize command again.
|
2010-11-14 21:39:28 +00:00
|
|
|
|
2010-12-08 03:07:04 +00:00
|
|
|
# == Adding Personal Projects
|
2010-11-14 21:39:28 +00:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
#
|
2010-12-12 07:40:42 +00:00
|
|
|
# If you don't use ruby, you can make something else the default:
|
2010-11-14 21:39:28 +00:00
|
|
|
#
|
2010-12-12 07:40:42 +00:00
|
|
|
# deactivate :ruby, :gem
|
|
|
|
# activate :python
|
2010-11-14 21:39:28 +00:00
|
|
|
|
|
|
|
# == 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/"
|
|
|
|
|
|
|
|
# = 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
|
2010-11-19 17:20:37 +00:00
|
|
|
# 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=> /@/
|