make global scope explicit in command-retrieval

This commit is contained in:
Mark Harrah 2011-03-13 21:42:44 -04:00
parent 787f00985b
commit 09b36a4476
1 changed files with 1 additions and 1 deletions

View File

@ -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)