feat: add starship to devcontainer
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
3 files changed
+12
-2
No files matched your search
@@ -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
|
||||||
@@ -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 \
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user