Coder Social home page Coder Social logo

my-zsh-config's Introduction

my-shell-config

Fish Shell

安装

1.安装fish

sudo apt install curl git fish -y
curl -L https://get.oh-my.fish | fish

2.安装agnoster主题

sudo apt install fonts-powerline
omf install agnoster

3.重启终端

fish

4.配置生效

Zsh Shell

命令行一览

Ubuntu 换源中科大

sudo sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
sudo sed -i 's/cn.archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list

配置终端

使用root用户

sudo apt install zsh git wget curl vim -y
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
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
sed -i "s/(git)/(\n\ \ git\n\ \ zsh-syntax-highlighting\n\ \ zsh-autosuggestions\n)/g" ~/.zshrc
sed -i "s/robbyrussell/bira/g" ~/.zshrc
source ~/.zshrc

Install Docker

curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh

Install pyenv

curl https://pyenv.run | bash

注意

保证.zshrc文件没有被修改过,否则sed命令中可能无效

plugins=(
  git
  zsh-syntax-highlighting
  zsh-autosuggestions
  )

my-zsh-config's People

Contributors

zeroxer 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.