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

相关推荐
Codigger官方1 分钟前
Linux 基金会牵头成立 React 基金会:前端开源生态迎来里程碑式变革
linux·前端·react.js
武文斌772 分钟前
项目学习总结:LVGL图形参数动态变化、开发板的GDB调试、sqlite3移植、MQTT协议、心跳包
linux·开发语言·网络·arm开发·数据库·嵌入式硬件·学习
爱吃喵的鲤鱼6 分钟前
仿mudou——Connection模块(连接管理)
linux·运维·服务器·开发语言·网络·c++
让子弹飞0215 分钟前
永久解决ubuntu网络连接问题
linux·运维·ubuntu
郝学胜-神的一滴38 分钟前
使用Linux的read和write系统函数操作文件
linux·服务器·开发语言·数据库·c++·程序人生·软件工程
七七七七072 小时前
【Linux 系统】打开文件和文件系统
linux·运维·spring
DeeplyMind2 小时前
第二章:模块的编译与运行-7 Loading and Unloading Modules
linux·驱动开发
---学无止境---3 小时前
Linux中驱动程序通过fasync异步通知应用程序的实现
linux
cccyi73 小时前
Linux 进程间通信机制详解
linux·进程通信
北京迅为3 小时前
【北京迅为】iTOP-4412精英版使用手册-第三十五章 WEB控制LED
linux·嵌入式硬件·嵌入式·4412