官方:http://ohmyz.sh/ 以及:https://askubuntu.com/questions/131823/cant-make-zsh-the-default-shell
通过命令chsh修改默认登录 shell,需要注意的是,如果通过 homebrew 安装了最新版本的 zsh,则需要sudo编辑/etc/shells加入一行/usr/local/bin/zsh。然后再通过chsh来修改默认 shell,否则会提示/usr/local/bin/zsh不是合法的 shell。 安装oh-my-zsh 配置 对于每一个像我这样的 zsh 初级用户来说,oh-my-zsh 就是救...
How to make it be beautiful 这里有很多主题:https://github.com/robbyrussell/oh-my-zsh/wiki/themes我选了一个酷炫的:agnoster 修改配置文件,设置zsh主题 sudo vim ~/.zshrc 将ZSH_THEME="robbyrussell" 用 # 注释掉,以防改回来,然后添加 ZSH_THEME="agnoster",重启机器。 5.字体安装 使用前需要安装相关f...
apt-get install nginx php-cli php make automake gcc gcc-c++ spawn-fcgi wget mysql-server php -v mysql -v nginx -v #使用自动化脚本安装 sudo -i wget -N https://raw.githubusercontent.com/Websoft9/ansible-linux/main/scripts/install.sh; bash install.sh -r lnmp 15.国内镜像安装zsh sudo ...
moma@Mac:~$ zsh ➜ ~ How to make it be beautiful 这里有很多主题:https://github.com/robbyrussell/oh-my-zsh/wiki/themes我选了一个酷炫的:agnoster 效果大致是这样的: 使用前需要安装相关font,不然就是一堆乱码。当然其他不需要字体支持的就直接改一下配置文件就好了,将在文末介绍。
$ zsh --versionzsh 5.8 (x86_64-ubuntu-linux-gnu) InstallingZSHwill not modify and set it as the default shell. We have to modify the settings to makeZSHour default shell. Use the “chsh” command with'-s'flag to switch the default shell for the user. ...
sudo apt-get install zsh 可以通过这两种方式安装。 方式一:curl sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 方式二:wget sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" ...
3.1 安装oh-my-zsh 1、查询已安装的shell类型 cat /etc/shells 1. 2、如果没有安装zsh则安装配置zsh(参考) sudo apt install -y zsh chsh -s $(which zsh) # 千万不要加sudo,否则就是只有root用户才是默认的zsh了 1. 2. 登出再登录后,检查当前的shell是否为zsh ...
How do I set ZSH as my default shell? After installing ZSH, make it your default shell by running `chsh -s $(which zsh)`. You'll need to log out and back in for the change to take effect. What are ZSH themes and how can I use them?
Install Zsh on Ubuntu The default shell on Ubuntu is Bash. Follow the steps below to install and use Z Shell on Ubuntu: Step 1: Update the System Repository Update the system package repository to get the latest program version available. Open the terminal and run the following command: ...