Git Product home page Git Product logo

zsh's Introduction

ZSH安装配置记录

安装zsh终端

切换为默认终端

  • 在终端运行如下命令可以切换终端默认使用zsh
chsh -s /bin/zsh

安装Zim配置框架

Zim has many module!Enable as many or as few as you'd like

  • 配置环境变量/etc/zsh/zshenv, 指定zsh 的个性化配置的位置
export ZDOTDIR=$HOME/.config/zsh

注意: 这个路径在不同的发行版中的位置可能不同, 例如Fedora等发行版本的配置在/etc/zshenv

Installation

  • with curl
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh

  • With wget
wget -nv -O - https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh

安装常用模块

安装模块只需要将下面代码块添加到.zimrc文件中

  • powerlevel10k
  zmodule romkatv/powerlevel10k
  • completions
  zmodule zsh-users/zsh-completions
  • autosuggestion
  zmodule zsh-users/zsh-autosuggestions
  • history-search
  zmodule zsh-users/zsh-history-substring-search
  • syntax-higthlight
  zmodule theniceboy/fast-syntax-highlighting
  • Install the module defined in .zimrc and build the initialization script
  source $ZDOTDIR/.zim/zimfw.zsh install   #zimfw install

NOTE

more information

zsh's People

Contributors

ancion avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.