Skip to content

Commit

Permalink
Add Page
Browse files Browse the repository at this point in the history
Signed-off-by: BY <qiubaiying@gmail.com>
  • Loading branch information
qiubaiying committed Jun 19, 2017
1 parent bd37f18 commit b0d12c1
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions _posts/2017-06-19-快速配置zsh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
layout: post
title: 快速配置zsh
subtitle: zsh的快速配置
date: 2017-06-19
author: BY
header-img: img/post-bg-universe.jpg
catalog: true
tags:
- 终端
- zsh
- Notes
---


> 比较水的 Personal Notes
## 查看你的系统有几种shell

cat /etc/shells

显示

/bin/bash
/bin/csh
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh

## 安装 oh my zsh

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

重新打开终端,输入

zsh

即可切换终端,并且发现 oh my zsh 已经帮我们配置好 zsh 了

## 修改主题

open ~/.zshrc

修改 `ZSH_THEME=”robbyrussell”`,主题在 ~/.oh-my-zsh/themes 目录下。
修改为

ZSH_THEME="kolo"

可以[参照这里](/~https://github.com/robbyrussell/oh-my-zsh/wiki/themes)进行选择.

## 设置为默认shell

chsh -s /bin/zsh

0 comments on commit b0d12c1

Please sign in to comment.