hwdq0012
V2EX  ›  问与答

发现 oh-my-zsh 在浏览很多文件的目录时,会很卡

  •  
  •   hwdq0012 · Mar 16, 2025 · 2077 views
    This topic created in 441 days ago, the information mentioned may be changed or developed.

    在 chromium 源码目录,一个动作卡半天,关掉 on-my-zsh 后果然好了 各位有遇到这种情况吗,怎么处理的,

    不用 zsh 后好像连按住 option 等键进行 cursor 移位都不好用了

    6 replies    2025-04-17 17:14:33 +08:00
    Mithril
        1
    Mithril  
       Mar 16, 2025
    关掉 Git 插件就好了,它默认会自动拉一下 Git 状态。好像也有个相关的参数可以调一下,不过我忘了是什么了。我都是直接关掉 Git 用的。
    imnpc
        2
    imnpc  
       Mar 16, 2025
    git config --global --add oh-my-zsh.hide-dirty 1
    大概是这个参数?可以搜索下网上有教程
    hwdq0012
        3
    hwdq0012  
    OP
       Mar 16, 2025
    @Mithril
    @imnpc
    感谢
    Volekingsg
        4
    Volekingsg  
       Mar 16, 2025   ❤️ 1
    意识到卡了就可以看看 powerlevel10k 或者 starship 这些
    muapyw
        5
    muapyw  
       Mar 16, 2025
    zimfw + ohmyposh
    hwdq0012
        6
    hwdq0012  
    OP
       Apr 17, 2025
    @Volekingsg 最后用了 starship
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2949 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 13:20 · PVG 21:20 · LAX 06:20 · JFK 09:20
    ♥ Do have faith in what you're doing.