diff --git a/lib/system/nimscript.nim b/lib/system/nimscript.nim index c876d6d061..0adc7a83c6 100644 --- a/lib/system/nimscript.nim +++ b/lib/system/nimscript.nim @@ -282,7 +282,9 @@ proc projectPath*(): string = builtin proc thisDir*(): string = - ## Retrieves the location of the current ``nims`` script file. + ## Retrieves the directory of the current ``nims`` script file. Its path is + ## obtained via ``currentSourcePath`` (although, currently, + ## ``currentSourcePath`` resolves symlinks, unlike ``thisDir``). builtin proc cd*(dir: string) {.raises: [OSError].} =