SaulLawliet
0.01D
V2EX  ›  问与答

zsh 的命令提示如何设置?

  •  
  •   SaulLawliet · Jun 30, 2015 · 3912 views
    This topic created in 4163 days ago, the information mentioned may be changed or developed.
    • bash

      ~$ puthon
      No command 'puthon' found, did you mean:
      Command 'python' from package 'python-minimal' (main)
      Command 'python' from package 'python3' (main)
      puthon: command not found

    • zsh(我当前)

      ➜ ~ puthon
      zsh: command not found: puthon

    • 如何变成这样?

      ➜ puthon
      No command 'puthon' found, did you mean:
      Command 'python' from package 'python-minimal' (main)
      Command 'python' from package 'python3' (main)
      zsh: command not found: puthon

    7 replies  •  2015-06-30 15:04:12 +08:00
    SaulLawliet
    SaulLawliet
    OP
    Jun 30, 2015
    1
    为什么我刚刚发布的, 就是4小时前, 时区?
    SaulLawliet
    SaulLawliet
    OP
    Jun 30, 2015
    2
    3小时?
    SaulLawliet
    SaulLawliet
    OP
    Jun 30, 2015
    3
    时间正常了, 疑惑中...
    lululau
    lululau
    Jun 30, 2015
    4
    command_not_found_handler
    lululau
    lululau
    Jun 30, 2015❤️1
    6
    补充,上面是 zsh 的,较新版本的 bash 应该也支持类似机制
    SaulLawliet
    SaulLawliet
    OP
    Jun 30, 2015
    7
    @lululau 多谢;)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   951 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 19:01 · PVG 03:01 · LAX 11:01 · JFK 14:01
    ♥ Do have faith in what you're doing.