1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-01 12:56:04 +02:00

47313: docs: Document explicitly that the :P modifier returns a symlink-less path.

This commit is contained in:
Daniel Shahaf 2020-08-10 05:50:40 +00:00
parent 8becb89357
commit cdafe31e05
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2020-08-16 Daniel Shahaf <d.s@daniel.shahaf.name>
* 47313: Doc/Zsh/expn.yo: docs: Document explicitly that the
:P modifier returns a symlink-less path.
2020-08-13 Oliver Kiddle <opk@zsh.org> 2020-08-13 Oliver Kiddle <opk@zsh.org>
* Jörg Sommer: 47320: Completion/Linux/Command/_choom: Add * Jörg Sommer: 47320: Completion/Linux/Command/_choom: Add

View File

@ -287,8 +287,10 @@ expansion.
) )
item(tt(P))( item(tt(P))(
Turn a file name into an absolute path, like tt(realpath+LPAR()3+RPAR()). Turn a file name into an absolute path, like tt(realpath+LPAR()3+RPAR()).
The resulting path will be absolute, have neither `tt(.)' nor `tt(..)' components, The resulting path will be absolute,
and refer to the same directory entry as the input filename. will refer to the same directory entry as the input filename,
and none of its components will be symbolic links or equal to
`tt(.)' or `tt(..)'.
Unlike tt(realpath+LPAR()3+RPAR()), non-existent trailing components are Unlike tt(realpath+LPAR()3+RPAR()), non-existent trailing components are
permitted and preserved. permitted and preserved.