Permalink
Browse files

Adjusted example thanks to adrianrf.

  • Loading branch information...
1 parent f52481e commit 07e1efa99aedf8b2aa2b7e0397ebe1f16dc52ab7 @wayneeseguin wayneeseguin committed Aug 3, 2011
Showing with 6 additions and 3 deletions.
  1. +6 −3 content/modules/shell.haml
@@ -29,9 +29,12 @@
A simple example of this is to use the filesystem module.
%pre.code
:preserve
- #!/usr/bin/env bash
- source "/usr/local/bdsm/modules/shell/core/initialize" # Load BDSM framework
- modules filesystem # We're going to use the system module.
+ #!/usr/bin/env bdsm
+
+ # Note the shebang above, this loads the BDSM framework!
+
+ modules bdsm/filesystem # We're going to use the system module.
+
if file_is_nonempty "$HOME/.bashrc" # Provided by the filesystem module
then
log "$HOME/.bashrc is nonempty! " # log() is provided by logging module

0 comments on commit 07e1efa

Please sign in to comment.