```sh
cd path
```
Sets the current directory based on the input path.<br>
If no path is provided, it will default to the user home directory.<br>
If the path does not exist, it will return none.
The new current directory.
The new current directory or none in case of any error such as target directory not found.
```sh
home = cd
cd ./scripts
```