feat: add starship to devcontainer

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2024-01-23 15:42:17 -05:00
1 parent 0eda6492fa
commit 0a31eecd6e
3 files changed
+12 -2

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
#Ref: https://github.com/devcontainers/ci/issues/191 # Ref: https://github.com/devcontainers/ci/issues/191
FROM mcr.microsoft.com/devcontainers/base:alpine FROM mcr.microsoft.com/devcontainers/base:alpine
+1 -1
View File
@@ -16,7 +16,7 @@ fi
apk add --no-cache \ apk add --no-cache \
bash bind-tools ca-certificates curl python3 \ bash bind-tools ca-certificates curl python3 \
py3-pip moreutils jq git iputils \ py3-pip moreutils jq git iputils \
openssh-client openssh-client starship
apk add --no-cache \ apk add --no-cache \
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \ --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \
+10
View File
@@ -1,5 +1,15 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Hook direnv into fish
cat << EOF > ~/.config/fish/conf.d/direnv.fish
direnv hook fish | source
EOF
# Hook starship into fish
cat << EOF > ~/.config/fish/conf.d/starship.fish
starship init fish | source
EOF
# Export the direnv environment variables # Export the direnv environment variables
task workstation:direnv task workstation:direnv