This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 8df596160c GROOVY-8162: Update Groovysh to JLine3 (doco tweaks)
8df596160c is described below
commit 8df596160c890d2f33a75182457066b5e1e8ff60
Author: Paul King <[email protected]>
AuthorDate: Thu Aug 14 08:53:09 2025 +1000
GROOVY-8162: Update Groovysh to JLine3 (doco tweaks)
---
subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
index 58f4da9fc3..56a8688810 100644
--- a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
+++ b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
@@ -322,6 +322,11 @@ with the fragment:
image:assets/img/repl_alias.png[Usage of /alias, width=75%]
+The `/cat` command is already available. As can be seen here, aliases
+are replaced before command selection, so with the above alias in place,
+we actually invoke `/less -F` command, which has syntax highlighting,
+instead of the builtin `/cat` which doesn't.
+
The fragment is expected to be at the start of a line but other text may
follow:
image:assets/img/repl_alias2.png[More /alias examples, width=60%]