mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 06:25:43 +02:00
Add $OLDPWD example for cd (#6194)
* add example for cd * Fix format_conversions tests
This commit is contained in:
@ -188,6 +188,11 @@ impl Command for Cd {
|
||||
example: r#"cd d/s/9"#,
|
||||
result: None,
|
||||
},
|
||||
Example {
|
||||
description: "Change to the previous working directory ($OLDPWD)",
|
||||
example: r#"cd -"#,
|
||||
result: None,
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user