zoukankan      html  css  js  c++  java
  • 配置你骚气的oh-my-zsh

    配置你骚气的oh-my-zsh

    0x00 什么是zsh

    zsh是shell的一种,功能很强大。

    0x01 安装oh-my-zsh

    brew install zsh
    ####
    如果是Linux的话安装方式也差不多,apt或者yum都可以直接安装
    ####
    

    安装oh-my-zsh

    sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    

    切换到zsh

    chsh -s /bin/zsh
    source ~/.zshrc
    

    0x02 安装常用拓展

    安装autojump、语法高亮等常用插件

    #安装autojump
    brew install autojump
    
    #语法高亮
    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    
    #命令提示
    git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
    

    这里只列举了常用的几个、需要其他的插件可以搜索并安装

    修改配置:

    vim ~/.zshrc
    #首先搜索到plugins=(git)的位置
    #然后改成下面的:
    plugins=(git zsh-autosuggestions osx autojump  zsh-syntax-highlighting)
    

    配置生效:

    source ~/.zshrc
    

    0x03使用体验

    这个自己慢慢使用来感受吧。

  • 相关阅读:
    多线程之异步操作
    AppDomain
    多线程之线程同步
    webServices与Web服务
    webParts与Web部件
    xhtmlConformance与xhtml脚本呈现
    webControls与客户端脚本路径
    urlMappings与URL映射
    trace与代码跟踪服务
    siteMap与站点导航
  • 原文地址:https://www.cnblogs.com/ritte/p/13826356.html
Copyright © 2011-2022 走看看