ohmyzsh/plugins/dash
Marc Cornellà 05c9747734
fix(dash): urlencode special parameters like : in query
In macOS, using queries such as `dash php:enum` does not open Dash.app,
possibly due to colon character being interpreted as a port.

URL-encoding the parameter (: -> %3A) makes this work again.

Fixes https://discord.com/channels/642496866407284746/809850042575093760/1308076125456437300
2024-11-18 22:55:47 +01:00
..
dash.plugin.zsh fix(dash): urlencode special parameters like : in query 2024-11-18 22:55:47 +01:00
README.md style: remove trailing whitespace (#12303) 2024-03-26 09:55:16 +01:00

Dash plugin

This plugin adds command line functionality for Dash, an API Documentation Browser for macOS. This plugin requires Dash to be installed to work.

To use it, add dash to the plugins array in your zshrc file:

plugins=(... dash)

Usage

  • Open and switch to the dash application.
dash
  • Query for something in dash app: dash query
dash golang
  • You can optionally provide a keyword: dash [keyword:]query
dash python:tuple