Site Tools


set_load_path
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


set_load_path [2006/08/29 20:18] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +======Synopsis:======
 +[[set]] load_path [<directory>[:<directory> ...]]
 +
 +======Description:======
 +This setting is used primarily by [[LOAD]] and [[WHICH command|WHICH]]
 +(and thus the $[[which function|which]]() function).  If the client
 +tries to access a file and cannot find it, it searches through each
 +directory listed in the __LOAD_PATH__.  It operates much like the PATH
 +statement in Unix shells.  The directories are searched sequentially.
 +
 +======Examples:======
 +To set the path to your home directory, and the client's script library:
 + /set load_path ~:/usr/local/irc/script
 +
 +To add ~/my_irc to the path:
 + /eval set load_path ${load_path}:~/my_irc
 +
 +======Other Notes:======
 +The client will also obey the IRCPATH environment variable when first starting
 +the client.  It will override __LOAD_PATH__ until the client is started
 +completely (i.e. everything in the .ircrc has loaded).
 +
  
set_load_path.txt · Last modified: 2006/08/29 20:18 by 127.0.0.1