Oh My Zsh

作者: iVikings | 来源:发表于2019-11-12 15:09 被阅读0次
    • Oh My Zsh 官网:https://ohmyz.sh/

    • install Oh My Zsh

      sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
      
    • set Oh My Zsh Theme

    In order to enable a theme, set ZSH_THEME to the name of the theme in your ~/.zshrc, before sourcing Oh My Zsh; for example: ZSH_THEME=robbyrussell

    • 刷新:

      source ~/.zshrc
      
    • uninstall Oh My Zsh

      uninstall_oh_my_zsh
      
    • update Oh My Zsh

      omz update
      
    # alias
    alias ll='ls -l'
    alias la='ls -al'
    alias vi='vim'
    alias grep="grep --color=auto"
    alias showip="ifconfig en0 | grep 'inet ' | awk '{print \$2}'"
    # alias end
    

    oh-my-zsh 终端用户名屏蔽设置

    相关文章

      网友评论

          本文标题:Oh My Zsh

          本文链接:https://www.haomeiwen.com/subject/kycqictx.html