diff --git a/docs/clink.md b/docs/clink.md index 133485552..688118db8 100644 --- a/docs/clink.md +++ b/docs/clink.md @@ -304,6 +304,8 @@ Clink has many configurable colors for match completions, input line coloring, p If you use the setup program with "Use enhanced default settings" checked then many of the color settings have more colorful default values. +See below for information on customizing colors yourself, or see [Color Themes](#color-themes) for information on applying color theme files (whose names end with ".clinktheme"). Clink comes with a few color theme files, and users can also share color themes online (or convert color themes from other shells). + #### For completion When performing completion (e.g. Tab or Ctrl-Space) Clink can add color to the possible completions. @@ -819,14 +821,14 @@ See clink autorun --help for more information.
clink config prompt
Configures Clink to use a custom prompt module.
-See clink config prompt --help or [Custom Prompts](#custom-prompts) for more information.
+See clink config prompt --help or Custom Prompts for more information.

clink config theme
Configures Clink to use a color theme.
-See clink config theme --help or [Color Themes](#color-themes) for more information.
+See clink config theme --help or Color Themes for more information.

@@ -2885,6 +2887,8 @@ Field | Description demo = function_name | If function_name is not nil, then it's called when clink config prompt show is run. dependson = string | If the string is not empty, then it is a list of clinkprompt names upon which this clinkprompt depends. When this clinkprompt file is loaded and activated, the other files are also loaded, and their prompt filters and event handlers are allowed to run even though they aren't part of the current active clinkprompt file. +Here's a "Sample.clinkprompt" file to illustrate how to write .clinkprompt files, including the `onactivate` and `ondeactivate` and `demo` functions. + ```lua #INCLUDE [docs\examples\Sample.clinkprompt] ```