Next: , Previous: Aliases, Up: Commands


3.4 History

Eshell knows a few built-in variables:

$+
This variable always contains the current working directory.
$-
This variable always contains the previous working directory (the current working directory from before the last cd command).