From c7ea5e8e35be29edf34adf733584b135be8bc9a3 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Tue, 23 Jan 2024 11:16:22 -0500 Subject: [PATCH] feat: add gh cli to devcontainer Signed-off-by: Devin Buhl --- .devcontainer/ci/devcontainer.json | 1 + .devcontainer/postCreateCommand.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.devcontainer/ci/devcontainer.json b/.devcontainer/ci/devcontainer.json index b0fe89ea..61678e22 100644 --- a/.devcontainer/ci/devcontainer.json +++ b/.devcontainer/ci/devcontainer.json @@ -6,6 +6,7 @@ "ghcr.io/devcontainers/features/common-utils:2": { "configureZshAsDefaultShell": true }, + "ghcr.io/devcontainers/features/github-cli:1": {}, "ghcr.io/devcontainers/features/python:1": { "version": "3.11.7", "installTools": false diff --git a/.devcontainer/postCreateCommand.sh b/.devcontainer/postCreateCommand.sh index 2c1983ee..ad354eb4 100755 --- a/.devcontainer/postCreateCommand.sh +++ b/.devcontainer/postCreateCommand.sh @@ -2,6 +2,7 @@ # Hook direnv into zsh if [[ -f "/home/vscode/.zshrc" ]]; then + # shellcheck disable=SC2016 echo -e 'eval "$(direnv hook zsh)"' >> /home/vscode/.zshrc fi