cd enter values back.

This commit is contained in:
Andrés N. Robalino 2019-08-27 00:31:54 -05:00
parent 1d64d90419
commit 0d6140d4ed

View File

@ -84,7 +84,7 @@ impl Shell for ValueShell {
let path = match args.nth(0) {
None => "/".to_string(),
Some(v) => {
let target = v.as_string()?;
let target = format!("{}", v.as_path()?.display());
let mut cwd = PathBuf::from(&self.path);
match target {