generated from devcontainers/feature-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added completion for fish,zsh,bash, pwsh
- Loading branch information
Showing
1 changed file
with
42 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0e03d61
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@edeediong The install.sh script is executed as a docker build step. Line #27 also creates a new "interactive" bash shell.
The conditionals to check current shell will always be bash. The build system user is typically root. The development shell is very likely to be something other than bash.
0e03d61
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @CodeMan99 thank you for the feedback.. I have removed the new interactive bash shell. Let me know if you come across another issue.
0e03d61
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@edeediong Removing the interactive bash invocation is not what I expected at all. I meant that it is invalid to check the current shell.
root
as a docker image build step.vscode
instead of root.Additionally, removing the
bash -i
has broken the build step.Notice the last line I've included here, it's saying that it can't find the
runme
executable. The new shell solved that by updating the$PATH
.Here's a gist of the full test log, which was executed at 16b8e4c.