Skip to content

Commit

Permalink
documents 'copyToClipboardCommand' configuration item
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbrokke committed Oct 27, 2020
1 parent 8eb82de commit 8394efc
Showing 1 changed file with 47 additions and 38 deletions.
85 changes: 47 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,45 @@

# Table of Contents

- [Table of Contents](#table-of-contents)
- [jack](#jack)
- [Motivation](#motivation)
- [Installation](#installation)
- [Usage](#usage)
- [Viewing a Git log](#viewing-a-git-log)
- [Built-in Key Commands](#built-in-key-commands)
- [Meta](#meta)
- [Navigation](#navigation)
- [Searching](#searching)
- [Actions](#actions)
- [Configuration](#configuration)
- [Configuration options](#configuration-options)
- [**blacklistPatterns**](#blacklistpatterns)
- [**commands**](#commands)
- [**gitShowOptions**](#gitshowoptions)
- [**notificationTimeout**](#notificationtimeout)
- [**searchIndexLimit**](#searchindexlimit)
- [**showLineNumbers**](#showlinenumbers)
- [**useLegacyEscapeKeyBehavior**](#uselegacyescapekeybehavior)
- [**useSearchIndex**](#usesearchindex)
- [The `Command` object](#the-command-object)
- [**command (Required)**](#command-required)
- [**description (Required)**](#description-required)
- [**foreground (Optional)**](#foreground-optional)
- [**key (Required)**](#key-required)
- [**onErrorCommand (Optional)**](#onerrorcommand-optional)
- [**refreshOnComplete (Optional)**](#refreshoncomplete-optional)
- [Placeholder tokens](#placeholder-tokens)
- [**COMMIT_MESSAGE**](#commit_message)
- [**SHA_RANGE**](#sha_range)
- [**SHA_SINGLE_OR_RANGE**](#sha_single_or_range)
- [**SHA_SINGLE**](#sha_single)
- [Environment variables](#environment-variables)
- [JACK_CLI_CONFIG_FILE_PATH](#jack_cli_config_file_path)
- [Miscellaneous](#miscellaneous)
- [**Why does the `foreground` option for my custom command not work?**](#why-does-the-foreground-option-for-my-custom-command-not-work)
- [**iTerm drag and drop is potentially dangerous while using `jack`**](#iterm-drag-and-drop-is-potentially-dangerous-while-using-jack)
- [Table of Contents](#table-of-contents)
- [jack](#jack)
- [Motivation](#motivation)
- [Installation](#installation)
- [Usage](#usage)
- [Viewing a Git log](#viewing-a-git-log)
- [Built-in Key Commands](#built-in-key-commands)
- [Meta](#meta)
- [Navigation](#navigation)
- [Searching](#searching)
- [Actions](#actions)
- [Configuration](#configuration)
- [Configuration options](#configuration-options)
- [**blacklistPatterns**](#blacklistpatterns)
- [**commands**](#commands)
- [**copyToClipboardCommand**](#copytoclipboardcommand)
- [**gitShowOptions**](#gitshowoptions)
- [**notificationTimeout**](#notificationtimeout)
- [**searchIndexLimit**](#searchindexlimit)
- [**showLineNumbers**](#showlinenumbers)
- [**useLegacyEscapeKeyBehavior**](#uselegacyescapekeybehavior)
- [**useSearchIndex**](#usesearchindex)
- [The `Command` object](#the-command-object)
- [**command (Required)**](#command-required)
- [**description (Required)**](#description-required)
- [**foreground (Optional)**](#foreground-optional)
- [**key (Required)**](#key-required)
- [**onErrorCommand (Optional)**](#onerrorcommand-optional)
- [**refreshOnComplete (Optional)**](#refreshoncomplete-optional)
- [Placeholder tokens](#placeholder-tokens)
- [**COMMIT_MESSAGE**](#commit_message)
- [**SHA_RANGE**](#sha_range)
- [**SHA_SINGLE_OR_RANGE**](#sha_single_or_range)
- [**SHA_SINGLE**](#sha_single)
- [Environment variables](#environment-variables)
- [JACK_CLI_CONFIG_FILE_PATH](#jack_cli_config_file_path)
- [Miscellaneous](#miscellaneous)
- [**Why does the `foreground` option for my custom command not work?**](#why-does-the-foreground-option-for-my-custom-command-not-work)
- [**iTerm drag and drop is potentially dangerous while using `jack`**](#iterm-drag-and-drop-is-potentially-dangerous-while-using-jack)

# jack

Expand Down Expand Up @@ -185,6 +186,14 @@ These options can be configured in the `.jack.json` file:
}
```

### **copyToClipboardCommand**

**Type**: String

**Default**: `""`

**Description**: A command to call when one of the copy text actions is used. The text to copy will be written to the standard input of the command. By default, jack attempts to use `pbcopy` if on macOS or `xsel --input` if on Linux.

### **gitShowOptions**

**Type**: String
Expand Down

0 comments on commit 8394efc

Please sign in to comment.