jimwoo
V2EX  ›  问与答

[求助] osx 终端的 Tab 键不好使,不会自动补全了。

  •  
  •   jimwoo · Dec 9, 2016 · 2058 views
    This topic created in 3480 days ago, the information mentioned may be changed or developed.

    在终端下按 tab 至少也会补全一下路径,现在狂按都没反应了。 .. 按个 tab 至少会补全 ../ 但现在一点效果都没有。


    用的是zsh

    2 replies    2016-12-09 18:14:53 +08:00
    jimwoo
        1
    jimwoo  
    OP
       Dec 9, 2016
    I have solved it! in .oh-my-zsh/oh-my-zsh.sh, look at 14th line:
    :${ZSH_DISABLE_COMPFIX:=true}
    turn true to false, save it,then execute source ~/.zshrc ,restart your terminal,you will know some directory which are insecure,then execute chmod 755 <insecure-directory>,
    at last , back to .oh-my-zsh/oh-my-zsh.sh,the 14th line,turn false to true, and source ~/.zshrc
    it will be solved!!!
    jimwoo
        2
    jimwoo  
    OP
       Dec 9, 2016
    好了,说白了就是 /User/xxxx 下没有权限。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1068 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:57 · PVG 01:57 · LAX 10:57 · JFK 13:57
    ♥ Do have faith in what you're doing.