Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"features": {
"ghcr.io/robbert229/devcontainer-features/postgresql-client:1": {
"version": "15"
},
"ghcr.io/devcontainers-contrib/features/fzf:1": {}
}
},

// Features to add to the dev container. More info: https://containers.dev/features.
Expand Down
8 changes: 1 addition & 7 deletions .devcontainer/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@

echo "Running postinstall.sh"

# Configure FZF and bash history
echo 'eval "$(fzf --bash)"' >> /home/node/.bashrc
sudo mkdir -p /home/node/.local/fzf
touch /home/node/.local/fzf/.bash_history
echo 'export HISTFILE=/home/node/.local/fzf/.bash_history' >> "/home/node/.bashrc"

# Aggressively clean npm and corepack caches
npm cache clean -f
sudo rm -rf /tmp/corepack-cache
Expand Down Expand Up @@ -49,4 +43,4 @@ alias gitrebase="git rebase --interactive main"
EOF


echo "postinstall.sh finished"
echo "postinstall.sh finished"