slang-users mailing list

[2012 Date Index] [2012 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] load-path issues


Duke Normandin <dukeofperl@xxxxxxxxxxx> wrote:
> /usr/lib/slang/v2/modules/histogram-module.so
> ^^^^^^^^
>
> Is there a way - like via .slshrc - to add a module search path?

Yes.  In your .slshrc file you can add:

  append_to_slang_load_path ("/usr/share/share/slsh/local-packages");
  append_to_slang_load_path ("/usr/share/share/slsh"
  set_import_module_path (sprintf ("%s:%s", get_import_module_path(),
                                           "/usr/lib/slang/v2/modules"));

--John




[2012 date index] [2012 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]