From 09b36a44764cc90772185c5a3f843b065ff2e0b5 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Sun, 13 Mar 2011 21:42:44 -0400 Subject: [PATCH] make global scope explicit in command-retrieval --- main/Project.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/Project.scala b/main/Project.scala index 9872e80aa..57c84a9e3 100644 --- a/main/Project.scala +++ b/main/Project.scala @@ -100,7 +100,7 @@ object Project extends Init[Scope] def get[T](k: SettingKey[T]): Option[T] = k in ref get structure.data def commandsIn(axis: ResolvedReference) = commands in axis get structure.data toList ; - val allCommands = commandsIn(ref) ++ commandsIn(BuildRef(ref.build)) ++ (commands get structure.data toList ) + val allCommands = commandsIn(ref) ++ commandsIn(BuildRef(ref.build)) ++ (commands in Global get structure.data toList ) val history = get(historyPath) flatMap identity val prompt = get(shellPrompt) val watched = get(watch)