kali linux 安装 oh-my-zsh

linux 安装 oh-my-zsh

  • 1. shell 切换
  • 2,修改主题

1. shell 切换

cat /etc/shells
# /etc/shells: valid login shells
/bin/sh
/bin/bash
/usr/bin/bash
/bin/rbash
/usr/bin/rbash
/bin/dash
/usr/bin/dash
/usr/bin/tmux
/usr/bin/screen
/bin/zsh
/usr/bin/zsh
apt-get install zsh
chsh -s /bin/zsh
reboot
➜  ~ echo $SHELL
/bin/zsh
➜  ~ 
  • 安装 oh-my-zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

2,修改主题

  • 查看主题
ls -a ~/.oh-my-zsh/themes 
vim .zshrc 

#ZSH_THEME="robbyrussell"
ZSH_THEME="gnzh"

reboot

在这里插入图片描述
参考:

  1. 修改Linux的shell从默认的bash切换为zsh
  2. oh-my-zsh 主题修改

你可能感兴趣的:(Kali,Linux)