From 4b2fb33fdee09c689849e9a608991c2de4e97899 Mon Sep 17 00:00:00 2001 From: Jordi Olivares Provencio Date: Mon, 13 Apr 2026 10:03:44 +0200 Subject: [PATCH] SERVER-123755: Add fzf to devcontainer setup (#51501) GitOrigin-RevId: 42959e7e173820a418ff4c4844b26771afa7e99c --- .devcontainer/devcontainer.json | 1 + .devcontainer/post-create.sh | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 1f51ada27b5..14817e64936 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -47,6 +47,7 @@ "features": { "ghcr.io/devcontainers/features/git:1": {}, "ghcr.io/devcontainers-community/features/bazel:1": {}, + "ghcr.io/devcontainers-extra/features/fzf:1": {}, "ghcr.io/devcontainers/features/docker-outside-of-docker:1": { "moby": false }, diff --git a/.devcontainer/post-create.sh b/.devcontainer/post-create.sh index 403a6534c9d..d010f7265ff 100755 --- a/.devcontainer/post-create.sh +++ b/.devcontainer/post-create.sh @@ -283,6 +283,11 @@ else exit 1 fi +# Setup fzf bindings +echo "Setting up fzf bindings..." +echo 'eval "$(fzf --bash)"' >>"${HOME}/.bashrc" +echo 'source <(fzf --zsh)' >>"${HOME}/.zshrc" + echo "" echo "MongoDB development container setup completed successfully!" echo "Info: All infrastructure and dependencies are now configured and up to date."