Jump to content

gleitz

Member
  • Posts

    7
  • Joined

  • Last visited

Posts posted by gleitz

  1. Great ideas! Go ahead with the PR @vitor as I'm traveling this week and won't have time to put some of these ideas into action. 

    A useful flag for howdoi will be -j for JSON output to populate the text field. You could also pass -n3 to get up to three potential answers.

    The last time I checked, homebrew was reluctant to add utilities that could already be installed via pip. I agree that the way this plugin is configured now is annoying.

  2. Sherlock, your neighborhood command-line sloth sleuth

    howdoi

    Instant coding answers via Alfred

    Never open your browser to look for help again

    Overview

    I am the maintainer of this workflow, and of the `howdoi` repository.

    Visit Howdoi in the Alfred Forum and view the workflow on Github.

    Installation

    • Make sure howdoi is installed on your machine with brew install howdoi.

    Usage

    Invoke the Alfred workflow with the keyword Question Keyword (default: `howdoi`) and then your query. The output will be shown as large type and also copied to the clipboard. Use ⌘↩ to open the answer's web page instead.

     

    Typing the howdoi query

     

    New to howdoi? You can get started by running:

    howdoi howdoi
    

    Useful Links

  3. Sherlock, your neighborhood command-line sloth sleuth

    howdoi

    Download the Workflow | Fork on Github

    Instant coding answers via Alfred

    Never open your browser to look for help again

    Introduction to howdoi

    Are you a hack programmer? Do you find yourself constantly Googling for how to do basic programming tasks?

    Suppose you want to know how to use the `tar` command. Why open your browser and read through blogs (risking major distraction) when you can simply stay in Alfred and ask:

    $ howdoi properly use tar command
    > tar -czf /tmp/workspace.tar.gz .
    

    Installation

    • Make sure howdoi is installed on your machine with brew install howdoi.

    Usage

    Invoke the Alfred workflow with the keyword Question Keyword (default: howdoi) and then your query. The output will be shown as large type and also copied to the clipboard. Use ⌘↩ to open the answer's web page instead.

     

    Typing the howdoi query

     

    New to howdoi? You can get started by running:

    howdoi howdoi
    

    Notes

    If `howdoi` is installed to a non-standard Homebrew location (or with `pip`) then you need to tell Alfred about your appropriate `PATH`.

    • Open the Workflow in Alfred
    • Click "prepare workflow configuration" in the top right (the icon looks like `(x)`)
    • Select the "Environment Variables" tab
    • Make a new entry with name PATH and value as the text output of entering echo $PATH in a terminal, e.g. `/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/username/.homebrew/bin`.

    Useful Links

×
×
  • Create New...