atom.commands.add 'atom-workspace', "pipe:run", => @run()
run: ->
- editor = atom.workspace.getActiveEditor()
- view = atom.workspaceView.getActiveView()
+ editor = atom.workspace.getActiveTextEditor()
return if not editor?
+ view = atom.views.getView(atom.workspace)
+
new CommandView history, (commandString) ->
if not commandString
view.focus()