src.elv.sh@v0.21.0-dev.0.20240515223629-06979efb9a2a/pkg/mods/runtime/runtime.d.elv (about) 1 # A list containing 2 # [module search directories](command.html#module-search-directories). 3 # 4 # This variable is read-only. 5 var lib-dirs 6 7 # Path to the [RC file](command.html#rc-file), ignoring any possible overrides 8 # by command-line flags and available in non-interactive mode. 9 # 10 # If there was an error in determining the path of the RC file, this variable 11 # is `$nil`. 12 # 13 # This variable is read-only. 14 # 15 # See also [`$runtime:effective-rc-path`](). 16 var rc-path 17 18 # Path to the [RC path](command.html#rc-file) that is actually used for this 19 # Elvish session: 20 # 21 # - If Elvish is running non-interactively or invoked with the `-norc` flag, 22 # this variable is `$nil`. 23 # 24 # - If Elvish is invoked with the `-rc` flag, this variable contains the 25 # absolute path of the argument. 26 # 27 # - Otherwise (when Elvish is running interactively and invoked without 28 # `-norc` or `-rc`), this variable has the same value as `$rc-path`. 29 # 30 # This variable is read-only. 31 # 32 # See also [`$runtime:rc-path`](). 33 var effective-rc-path 34 35 # The path to the Elvish binary. 36 # 37 # If there was an error in determining the path, this variable is `$nil`. 38 # 39 # This variable is read-only. 40 var elvish-path