-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathzsh
34 lines (22 loc) · 1007 Bytes
/
zsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
tags: [ zsh ]
---
# To install nerd-fonts: https://github.com/romkatv/nerd-fonts
git clone --depth 1 https://github.com/romkatv/nerd-fonts.git ~/.nerd-fonts
cd ~/.nerd-fonts
./install.sh
# oh-my-zsh: https://ohmyz.sh/
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
add some plugins:
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
vim ~/.zshrc
and change the plugin list:
plugins=( git zsh-syntax-highlighting zsh-autosuggestions )
# To install powerlevel: https://github.com/romkatv/powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
vim ~/.zshrc
and add or change the theme:
ZSH_THEME="powerlevel10k/powerlevel10k"
then:
p10k configure