YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
update install.sh
Louis Beaumont6e2217a051d5
diff --git a/install.sh b/install.shindex e6743f18b..475f0d187 100755--- a/install.sh+++ b/install.sh@@ -46,4 +46,31 @@ elsechmod +x $HOME/.local/bin/screenpipefi-echo "screenpipe installed successfully! Please add $HOME/.local/bin to your PATH if it's not already included."\ No newline at end of file+echo "screenpipe installed successfully!"++# Ask user if they want to add the directory to PATH+printf "Do you want to add $HOME/.local/bin to your PATH? (y/n): "+read add_to_path++if [ "$add_to_path" = "y" ] || [ "$add_to_path" = "Y" ]; then+ # Determine the shell configuration file+ if [ -n "$BASH_VERSION" ]; then+ config_file="$HOME/.bashrc"+ elif [ -n "$ZSH_VERSION" ]; then+ config_file="$HOME/.zshrc"+ else+ echo "Unsupported shell. Please add the following line to your shell configuration file manually:"+ echo "export PATH=\"\$HOME/.local/bin:\$PATH\""+ exit 0+ fi++ # Add the PATH modification to the shell configuration file+ echo "export PATH=\"\$HOME/.local/bin:\$PATH\"" >> "$config_file"+ echo "Added $HOME/.local/bin to your PATH in $config_file"+ echo "Please run 'source $config_file' or start a new terminal session for the changes to take effect."+else+ echo "If you want to add screenpipe to your PATH later, add the following line to your shell configuration file:"+ echo "export PATH=\"\$HOME/.local/bin:\$PATH\""+fi++echo "Installation complete!"\ No newline at end of file