mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-01 23:24:21 +08:00
638a66c8ff
These were already mentioned in the completions, and we don't typically add short-only options. Fixes #6787.
24 lines
495 B
ReStructuredText
24 lines
495 B
ReStructuredText
.. _cmd-pwd:
|
|
|
|
pwd - output the current working directory
|
|
==========================================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
::
|
|
|
|
pwd [(-P | --physical)] [(-L | --logical)]
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
``pwd`` outputs (prints) the current working directory.
|
|
|
|
The following options are available:
|
|
|
|
- ``-L`` or ``--logical`` Output the logical working directory, without resolving symlinks (default behavior).
|
|
|
|
- ``-P`` or ``--physical`` Output the physical working directory, with symlinks resolved.
|