1 stable release
1.0.0 | Mar 28, 2023 |
---|
#5 in #alt
Used in csearch
4KB
60 lines
csearch
CLI Utility for the opening your browser from the terminal
Examples
csearch "Some query here" -b Default -s Google
Choose Browser
It works on webbrowser library
On Linux, you can set the environment variable BROWSER
For example in Bash:
export BROWSER="/usr/bin/links"
Or in PowerShell
$env:BROWSER = "/usr/bin/links"
It's also working with browsers like Links
Completions
You can generate common completions for your shell
For example in PowerShell
New-Item -Path ~/.cargo/scripts/ -Type Directory
csearch --completions Bash >> ~/.cargo/scripts/csearch.ps1
Add-Content -Path $PROFILE -Value "Invoke-Expression -Command ~/.cargo/scripts/*.ps1"
Dependencies
~1–13MB
~126K SLoC