From 9cf4a6a1023dda70072b76bd881efbd12c2270d1 Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Mon, 6 Mar 2017 06:59:23 -0500 Subject: rename taskNames to complete and pass in current readline buffer in fish for zsh and bash this still needs to be done. Also interpreting the buffer to complete the current command --- stage2/BasicBuild.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'stage2/BasicBuild.scala') diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala index bc6f9d9..07f717a 100644 --- a/stage2/BasicBuild.scala +++ b/stage2/BasicBuild.scala @@ -42,7 +42,9 @@ trait BaseBuild extends BuildInterface with DependencyImplementation with Trigge final def help: String = lib.usage(this.getClass, show) - final def taskNames: String = lib.taskNames(this.getClass).sorted.mkString("\n") + final def complete: String = { + lib.taskNames(this.getClass).sorted.mkString("\n") + } // ========== meta data ========== -- cgit v1.2.3