macOS 安装 iTerm2
2023-09-14 09:09:53 时间
1,下载iTerm2
2,安装oh-my-zsh
- zsh 版本
$ zsh --version
zsh 5.3 (x86_64-apple-darwin18.0)
- shell 环境
$ echo $SHELL
/bin/bash
- 安装了哪些shell
$ cat /etc/shells
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/bash
/bin/csh
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
- 切换到 zsh 退出重新打开
$ chsh -s /bin/zsh
- 安装 oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
3,切换zsh主题
- 主题修改为gnzh,重新打开一个终端
cat .zshrc
# ZSH_THEME="robbyrussell"
ZSH_THEME="gnzh"
4,安装 PowerLine
pip3 install powerline-status --user
5,安装 PowerFonts
git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
╰─➤ ./install.sh
Copying fonts...
Powerline fonts installed to /Users/y50/Library/Fonts
6,安装代码高亮插件
cd ~/.oh-my-zsh/custom/plugins
╰─➤ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
╰─➤ vim ~/.zshrc
plugins=(
git
zsh-syntax-highlighting
)
source ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
╰─➤ sort ~/.zshrc
7,安装命令补全
╰─➤ cd ~/.oh-my-zsh/custom/plugins
╰─➤ git clone https://github.com/zsh-users/zsh-autosuggestions
╰─➤ cat ~/.zshrc
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
)
参考:
相关文章
- OS X10.10下HomeBrew的安装提示
- LAMP之安装php
- mac安装docker,显示无效的命令
- Vsftpd 2.2.x安装和配置--centos7前的版本
- Axure mac 安装破解
- VMware ESXi 6.7在虚拟机中安装macOS 10.13
- activemq安装和启动
- python3安装venv虚拟环境
- Linux系统centos下Nodejs安装方法
- Computer:MediaPreview的简介、安装、使用方法之详细攻略
- android 8.1 9.0 10.0 app安装黑名单(限制app安装)
- 〖Python 数据库开发实战 - MySQL篇③〗- MacOS 环境下 MySQL数据库的安装与初始化
- 〖Python 数据库开发实战 - MySQL篇④〗- MacOS 配置 MySQL 环境变量及安装MySQL图形化工具 - MySQL Workbench
- 安装ubuntu 进行换阿里源 修改语言 添加nfs ssh服务 vim软件设置 搭建xshell6的访问 添加 交叉编译器 qemu 遍地是图, 新手易上手
- proxmox PVE 6.3 虚拟机 安装 黑苹果 macOS Catalina 10.15.5 opencore 引导
- macos 安装 mysql
- macOS 安装 gns3
- macOS 安装 charles 对手机抓包 https ssl
- MacOS 安装 metasploit
- macOS 安装 Burp Suite 并破解
- macOS 安装 wine
- macOS 安装 mitmproxy
- win乌班图双系统安装(win11、Ubuntu20.04)及安装后的环境、软件配置
- rhel8安装libpcap-devel包