kali

kali的一些配置

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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#更换语言
dpkg-reconfigure locales

#升级
apt-get update && apt-get upgrade && apt-get clean

#安装ohmyzsh
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

#安装Powerlevel10k主题
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
#国内用这个
git clone --depth=1 https://gitee.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
vim ~/.zshrc
#修改为
ZSH_THEME="powerlevel10k/powerlevel10k"

#配置
p10k configure

#安装zsh-syntax-highlighting插件
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
#安装zsh-autosuggestions插件
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
#启用插件
vim ~/.zshrc
#修改为
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
)

#生效配置
source ~/.zshrc

#安装nerd字体
git clone https://github.com/ryanoasis/nerd-fonts.git
cd nerd-fonts
./install.sh


#有趣的终端
apt-get install cowsay
apt-get install fortune
gem install lolcat
#比如
fortune | cowsay | lolcat

#黑客帝国特效
apt-get install cmatrix
#好莱坞特效
apt-get install hollywood
#缓慢输出特效
apt-get install pv
echo “Tecmint.com is a community of Linux Nerds and Geeks” | pv -qL 10


#thefuck
pip install thefuck