linux 终极shell zsh 及增强工具 oh-my-zsh 一并安装

linux 终极shell zsh 及增强工具 oh-my-zsh 一并安装

1 安装zsh
ubuntu 用户: apt install zsh,
centos 用户: yum install zsh

2 安装zsh 增强工具 oh-my-zsh 执行:
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh

3 更主题
vim ~/.zshrc 为ys

# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
  export ZSH=/root/.oh-my-zsh

# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
#ZSH_THEME="robbyrussell"
ZSH_THEME="ys"

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true

4 zsh 主题推荐 ys , bureau , angoster ,强烈推荐使用 ys,因为 用户名,主机名,目录信息,时间,都是几个关键信息,相对于其他主题来说,显示信息显示在上一行,输入命令时换行在下一行,这样有效的防止了目录信息过长,影响到命令的输入的尴尬。

ys

这里写图片描述

bureau 和 agnoster
这里写图片描述

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值