feat: devcontainer properly hooks starship and direnv now

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2024-01-23 16:23:20 -05:00
1 parent 0a31eecd6e
commit a16b347c54
5 files changed
+15 -13

No files matched your search

+7 -2
View File
@@ -1,12 +1,17 @@
#!/usr/bin/env bash
set -e
set -o noglob
# Create the fish configuration directory
mkdir -p ~/.config/fish/conf.d
# Hook direnv into fish
cat << EOF > ~/.config/fish/conf.d/direnv.fish
tee ~/.config/fish/conf.d/direnv.fish > /dev/null <<EOF
direnv hook fish | source
EOF
# Hook starship into fish
cat << EOF > ~/.config/fish/conf.d/starship.fish
tee ~/.config/fish/conf.d/starship.fish > /dev/null <<EOF
starship init fish | source
EOF