From 8914ed6c1057e6b617e83fe7d4fa9c7bc20d66d1 Mon Sep 17 00:00:00 2001 From: Tomasz Pocztowski <17937613+pr0way@users.noreply.github.com> Date: Thu, 30 Oct 2025 21:30:46 +0100 Subject: [PATCH] Fix local installation commands in README Some shells interpret this code as a single command, which may result in Python code being injected directly into your .bashrc file. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e4a3ccb..8228bd9 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,9 @@ Perplexity CLI is a simple and convenient command-line client for the Perplexity No installation is required. You can run the script directly from the GitHub repository or install it locally.Example of local installation: ```bash -curl -s https://raw.githubusercontent.com/dawid-szewc/perplexity-cli/main/perplexity.py > ~/.local/bin/perplexity \ -chmod +x ~/.local/bin/perplexity \ -echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc \ +curl -s https://raw.githubusercontent.com/dawid-szewc/perplexity-cli/main/perplexity.py > ~/.local/bin/perplexity && \ +chmod +x ~/.local/bin/perplexity && \ +echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && \ echo 'export PERPLEXITY_API_KEY="your-api-key"' >> ~/.bashrc ``` ## Usage