runtime.d.elv 1.2 KB

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