【发布时间】:2016-09-20 16:22:37
【问题描述】:
我在 Windows 上的 Atom 编辑器中打开项目的常规例程是使用 Git Bash 终端转到目录并输入 atom . 这将在 Atom 中打开目录的全部内容。
最近一次 Windows 更新后,当我输入 atom . 时,我现在看到:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Web\htdocs\dev>
这是一个闪烁的命令提示符。基本 Windows 命令提示符是否从我正在使用的 Git Bash 终端接管?
当我在终端中只输入atom 时,Atom 编辑器会正常打开。
当我输入explorer . 时,它工作得很好(在当前目录中打开一个资源管理器窗口)。
当我打开 Windows PowerShell 并输入 atom . 时,会发生正确的行为。
当我运行 git-cmd.exe 并输入 atom . 时,会发生正确的行为。
这是 Atom 的一个已知问题:https://github.com/atom/atom/issues/11817
运行 atom.cmd . 将产生预期的行为。
【问题讨论】:
标签: windows git bash terminal atom-editor