-
Notifications
You must be signed in to change notification settings - Fork 29
cd
without arguments cd
s to the user's home directory
#716
Comments
Yeah, this is a challenge to solve with how we currently setup a shell. #717 will try to make it more obvious what to do when you leave Wash's domain. |
One thing we could do is alias |
Hm, if we alias |
You often see aliases for builtins. You can access the builtin using the command |
One-liner for zsh
Might be slightly different for bash and other shells. |
Thank god there's someone on the Wash team that knows shells very well. Sweet, then looks like the alias will work. |
One challenge new users run into is how to get back to Wash's root. Make `cd` without arguments take them there. Fixes puppetlabs-toy-chest#716. Signed-off-by: Michael Smith <[email protected]>
One challenge new users run into is how to get back to Wash's root. Make `cd` without arguments take them there. Fixes puppetlabs-toy-chest#716. Signed-off-by: Michael Smith <[email protected]>
Thanks both! :) |
Describe the Bug
This is not a huge deal, but when I type
cd
without any arguments, washcd
s to my user's home directory, where it is unable to list anything:this is normal for bash, but seemed odd in the wash context.
Expected Behavior
After typing
cd
, I expected to be back in the wash working directory, instead of my user's home directorySteps to Reproduce
Steps to reproduce the behavior:
wash
cd
without argumentsls
Environment
The text was updated successfully, but these errors were encountered: