diff --git a/docs/scripting.md b/docs/scripting.md index e6bcddf..df28571 100644 --- a/docs/scripting.md +++ b/docs/scripting.md @@ -16,6 +16,8 @@ Call built-in scripts: $ ciel -s simpleHTTPserver 9000 ``` +> Note: script names are case insensitive. + An example script: ```lisp diff --git a/scripting.lisp b/scripting.lisp index b466b2d..25480d5 100644 --- a/scripting.lisp +++ b/scripting.lisp @@ -3,9 +3,10 @@ (defparameter *ciel-version* "0.1" "Read from .asd or version.lisp-expr file.") -(defparameter *scripts* (dict) +(defparameter *scripts* (dict 'equalp) "Available scripts. - Hash-table: file name (sans extension) -> file content (string).") + Hash-table: file name (sans extension) -> file content (string). + The name is case-insensitive (it's easier for typing things in the terminal).") (defun maybe-ignore-shebang (in) "If this file starts with #!, delete the shebang line,