aws-shell icon indicating copy to clipboard operation
aws-shell copied to clipboard

!ls invokes ls in shell, but !cd won't invoke cd in shell

Open starkshaw opened this issue 7 years ago • 1 comments

Hi,

I understand you have already implemented .cd as the change directory function. But since cd is a shell command as well, would it be possible to have !cd invoke cd as well?

Also, could we have the auto-completion of commands or files when pressing tab key?

starkshaw avatar Apr 05 '18 11:04 starkshaw

The reason .cd exists is because when you run !cd it runs in a subprocess which doesn't affect the working directory of the shell, just the subprocess. I can see the value of auto-completing other command names and files though. Marking as a feature request.

joguSD avatar May 15 '18 18:05 joguSD