Skip to content

Commit b0d12c1

Browse files
committed
Add Page
Signed-off-by: BY <qiubaiying@gmail.com>
1 parent bd37f18 commit b0d12c1

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
layout: post
3+
title: 快速配置zsh
4+
subtitle: zsh的快速配置
5+
date: 2017-06-19
6+
author: BY
7+
header-img: img/post-bg-universe.jpg
8+
catalog: true
9+
tags:
10+
- 终端
11+
- zsh
12+
- Notes
13+
---
14+
15+
16+
> 比较水的 Personal Notes
17+
18+
## 查看你的系统有几种shell
19+
20+
cat /etc/shells
21+
22+
显示
23+
24+
/bin/bash
25+
/bin/csh
26+
/bin/ksh
27+
/bin/sh
28+
/bin/tcsh
29+
/bin/zsh
30+
31+
## 安装 oh my zsh
32+
33+
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
34+
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
35+
36+
重新打开终端,输入
37+
38+
zsh
39+
40+
即可切换终端,并且发现 oh my zsh 已经帮我们配置好 zsh 了
41+
42+
## 修改主题
43+
44+
open ~/.zshrc
45+
46+
修改 `ZSH_THEME=”robbyrussell”`,主题在 ~/.oh-my-zsh/themes 目录下。
47+
修改为
48+
49+
ZSH_THEME="kolo"
50+
51+
可以[参照这里](https://github.com/robbyrussell/oh-my-zsh/wiki/themes)进行选择.
52+
53+
## 设置为默认shell
54+
55+
chsh -s /bin/zsh

0 commit comments

Comments
 (0)