PWDHIST (json)
Less than 1 minute
PWDHIST
(json)
History of each change to the sessions working directory
Description
PWDHIST
is a JSON array containing the history of all the working directories within the current shell session.
It is updated via cd
however you can overwrite its value manually via set
.
Examples
» cd ~bob
» cd /tmp
» $PWDHIST
[
"/Users/bob",
"/private/tmp"
]
Synonyms
pwdhist
PWDHIST
See Also
- Array (
@
) Token: Expand values as an array - Modules and Packages: An introduction to Murex modules and packages
- Pipeline: Overview of what a "pipeline" is
- Reserved Variables: Special variables reserved by Murex
- Variable and Config Scoping: How scoping works within Murex
PWD
(str): Current working directorycd
: Change (working) directoryjson
: JavaScript Object Notation (JSON)path
: Structured object for working with file and directory pathsset
: Define a local variable and set it's valuestring
(stringing): string (primitive)
This document was generated from gen/variables/PWDHIST_doc.yaml.