ubuntu软件推荐(2):终端美化 tabby+oh-my-zsh

文章目录

  • 一、tabby下载
  • 二、tabby安装
  • 三、安装Oh-my-zsh
    • [1. 安装zsh](#1. 安装zsh)
    • [2. 设置默认终端为zsh](#2. 设置默认终端为zsh)
    • [3. 下载安装oh-my-zsh](#3. 下载安装oh-my-zsh)
    • [3. 根据自己喜好安装字体(略)](#3. 根据自己喜好安装字体(略))
    • [4. 在tabby终端修改字体](#4. 在tabby终端修改字体)
    • [5. 安装oh-my-zsh插件](#5. 安装oh-my-zsh插件)
    • [6. 修改主题+插件生效](#6. 修改主题+插件生效)

一、tabby下载

https://github.com/Eugeny/tabby/releases/


二、tabby安装

  1. 打开终端的快捷键:Ctrl+Alt+T
  2. 安装依赖
bash 复制代码
sudo apt-get install gconf2 gconf-service -y
sudo apt --fix-broken install
  1. 进入下载好的tabby路径
  2. 输入 sudo dpkg -i tabby-x.x.xxx-linux-x64.deb
  3. 在软件表中找图标运行。设置Tabby
  4. 在设置中,可以进行一些基础的设置,比如配色方案,透明,窗口的方向等。
  5. 将tabby设置为默认窗口,通过快捷键打开。
bash 复制代码
gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/tabby
gsettings set org.gnome.desktop.default-applications.terminal exec-arg "-x"

还原为原来的设置:

bash 复制代码
gsettings reset org.gnome.desktop.default-applications.terminal exec
gsettings reset org.gnome.desktop.default-applications.terminal exec-arg

三、安装Oh-my-zsh

1. 安装zsh

bash 复制代码
sudo apt install zsh -y #安装zsh
cat /etc/shells #查看shells
zsh --version#查看版本

2. 设置默认终端为zsh

bash 复制代码
chsh -s $(which zsh)#设置终端默认shell为zsh
sudo reboot#重启系统

3. 下载安装oh-my-zsh

bash 复制代码
git clone https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git
cd ohmyzsh/tools
REMOTE=https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git sh install.sh
git -C $ZSH remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git
git -C $ZSH pull

3. 根据自己喜好安装字体(略)

4. 在tabby终端修改字体

5. 安装oh-my-zsh插件

高亮命名

bash 复制代码
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

命令补全

bash 复制代码
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

目录跳转

bash 复制代码
sudo apt-get install autojump

6. 修改主题+插件生效

bash 复制代码
sudo vim ~/.zshrc


设置完成后输入

bash 复制代码
source ~/.zshrc

相关推荐
努力学习的小廉1 小时前
深入了解linux系统—— POSIX信号量
linux·运维·服务器
刘一说1 小时前
CentOS部署ELK Stack完整指南
linux·elk·centos
从零开始的ops生活1 小时前
【Day 50 】Linux-nginx反向代理与负载均衡
linux·nginx
IT成长日记1 小时前
【Linux基础】Linux系统配置IP详解:从入门到精通
linux·运维·tcp/ip·ip地址配置
夜无霄1 小时前
安卓逆向(一)Ubuntu环境配置
linux·运维·爬虫·ubuntu
田野里的雨1 小时前
manticore离线安装(Ubuntu )
linux·运维·服务器·全文检索
wanhengidc1 小时前
云手机就是虚拟机吗?
运维·网络·安全·智能手机
Angletank2 小时前
虚拟机中centos简单配置
linux·经验分享·程序人生·centos
黑唐僧2 小时前
Linux 高阶命令-常用命令详解
linux
疾风铸境2 小时前
项目研发实录:电子称SDK封装dll给到QT和C#调用
linux·服务器·网络