Skip to content
Open
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
17 changes: 17 additions & 0 deletions script/install.d/24-ripgrep.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

# -----------------------------------------------------------------------------
# Description:
# Install ripgrep.
#

if ! command -v rg &>/dev/null; then
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
sudo apt-get update -qq &&
sudo apt-get install -qq ripgrep
elif [[ "$OSTYPE" == "darwin"* ]]; then
brew install ripgrep
fi
fi

rg --version
1 change: 1 addition & 0 deletions tests/test_binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def in_shell_path(shell: Text, binary: Text) -> bool:
# tools
"git",
"gh",
"rg",
"terraform",
"docker" if not os.environ.get("SKIP_DOCKER_CONFIG") else None,
"neofetch",
Expand Down