1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-26 22:31:59 +00:00
ohmyzsh/plugins/dash
Marc Cornellà b5d52682ca
fix(dash): urlencode special parameters like : in query (#12811)
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-19 15:43:04 +01:00
..
dash.plugin.zsh fix(dash): urlencode special parameters like : in query (#12811) 2024-11-19 15:43:04 +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