pushd method

  1. @override
Shell pushd(
  1. String path
)

Create a new shell at the given path, allowing popd on it

Implementation

@override
Shell pushd(String path) => cd(path).._parentShell = this;