【发布时间】:2015-12-13 09:31:53
【问题描述】:
我的 zsh shell 中的 jobs、fg 和 bg 命令出现了奇怪的行为。这是一个示例(所有命令都会发生这种情况,而不仅仅是python):
$ python &
[1] 21214
Python 2.7.8 (default, Oct 19 2014, 16:02:00)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
[1] + 21214 suspended (tty output) python
$ jobs
[1] + suspended (tty output) python
$ fg 1
fg: job not found: 1
$ bg 1
bg: job not found: 1
我在 OS X 上使用标准的 oh-my-zsh 安装。
【问题讨论】: