github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/gen/includes/fileref-module-strings.inc.md (about)

     1  ### Module Strings For Non-Module Code
     2  
     3  #### Source
     4  
     5  A common shell idiom is to load shell script files via `source` / `.`. When
     6  this is done the module string (as seen in the `FileRef` structures described
     7  above) will be `source/hash` where **hash** will be a unique hash of the file
     8  path and load time.
     9  
    10  Thus no two sourced files will share the same module string. Even the same file
    11  but modified and sourced twice (before and after the edit) will have different
    12  module strings due to the load time being part of the hashed data.
    13  
    14  #### REPL
    15  
    16  Any functions, variables, events, auto-completions, etc created manually,
    17  directly, in the interactive shell will have a module string of `murex` and an
    18  empty Filename string.