Skip to content

Commit 2a0e66d

Browse files
installation: document installing shell auto-completion (#565)
* installation: document installing shell auto-completion * Update src/installation.rst Co-authored-by: Melanie Hall <[email protected]> Co-authored-by: Melanie Hall <[email protected]>
1 parent ee6091c commit 2a0e66d

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

src/installation.rst

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ install:
6868
$ pip install 'cylc-uiserver[hub]'
6969
$ npm install configurable-http-proxy
7070
71+
You might also want to configure:
72+
73+
* :ref:`Shell auto-completion <installation.shell_auto_completion>`
74+
* :ref:`Text editor support <SyntaxHighlighting>`
75+
7176

7277
.. _non-python-requirements:
7378

@@ -269,7 +274,6 @@ The `Cylc UI Server`_ can be configured on a site and user basis.
269274
Guidance for configuration file storage, configuration variables and defaults
270275
can be found: :ref:`UI_Server_config`.
271276

272-
273277
Bash Profile
274278
^^^^^^^^^^^^
275279

@@ -281,3 +285,30 @@ configuration in login scripts.
281285

282286
Sites and users should ensure their bash login scripts configure the
283287
environment correctly for Cylc and *do not write anything to stdout*.
288+
289+
.. _installation.shell_auto_completion:
290+
291+
Shell Auto-Completion
292+
^^^^^^^^^^^^^^^^^^^^^
293+
294+
Cylc provides auto-completion for the Bash shell which can save you typing:
295+
296+
* Cylc commands
297+
* Workflow IDs
298+
* Cycle points
299+
* Task names
300+
301+
To extract the auto-completion file run the following command:
302+
303+
.. code-block:: sub
304+
305+
cylc get-resources cylc-completion.bash <path-to-copy-file>
306+
307+
Then follow the comments in the file to install it.
308+
309+
Text Editors
310+
^^^^^^^^^^^^
311+
312+
There is support for the ``.cylc`` file format in various text editors.
313+
314+
See :ref:`SyntaxHighlighting` for more details.

0 commit comments

Comments
 (0)