github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/gen/variables/PWDHIST_doc.yaml (about)

     1  - DocumentID: pwdhist
     2    Title: >-
     3      `PWDHIST` (json)
     4    CategoryID: variables
     5    Summary: >-
     6      History of each change to the sessions working directory
     7    Description: |-
     8      `PWDHIST` is a JSON array containing the history of all the working directories
     9      within the current shell session.
    10  
    11      It is updated via `cd` however you can overwrite its value manually via `set`.
    12    Examples: |-
    13      ```
    14      » cd ~bob
    15      » cd /tmp
    16      » $PWDHIST
    17      [
    18          "/Users/bob",
    19          "/private/tmp"
    20      ]
    21      ```
    22  
    23    Synonyms:
    24    - pwdhist
    25    - PWDHIST
    26    Related:
    27    - path
    28    - json
    29    - pwd
    30    - string
    31    - array
    32    - set
    33    - cd
    34    - scoping
    35    - pipeline
    36    - modules
    37    - reserved-vars