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

相关推荐
嘿rasa38 分钟前
2025最新系统 Linux 教程(三)
linux·运维·服务器
网硕互联的小客服41 分钟前
服务器风扇故障导致过热问题的解决方案
运维·服务器·chrome
Star Learning Python43 分钟前
Linux系统-文本处理三剑客-grep命令、sed命令、awk命令
linux
facaixxx20241 小时前
应用镜像是什么?轻量应用服务器的镜像大全
linux·运维·服务器
火龙谷1 小时前
【hadoop】master一键启动hadoop集群(高可用)
linux·hadoop
noravinsc2 小时前
Linux 下 Module 工具的介绍与使用
linux·运维·服务器
c无序2 小时前
【Docker-13】Docker Container容器
运维·docker·容器
Sunlight_7772 小时前
第五章 SQLite数据库:1、SQLite 基础语法及使用案例
java·linux·服务器·jvm·数据库·tcp/ip·sqlite
Silence4Allen2 小时前
Ubuntu 安装WPS Office
linux·ubuntu·wps
程序员JerrySUN2 小时前
驱动开发硬核特训 · Day 11(下篇):从 virtio_blk 看虚拟总线驱动模型的真实落地
linux·驱动开发·嵌入式硬件