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

相关推荐
暴躁的菜鸡21 分钟前
Ubuntu安装向日葵
linux·运维·ubuntu
wa的一声哭了30 分钟前
Webase部署Webase-Web在合约IDE页面一直转圈
linux·运维·服务器·前端·python·区块链·ssh
Aufidius36 分钟前
虚拟机ubuntu存储空间不够如何扩容(扩充根目录)
linux·运维·ubuntu
Warren981 小时前
软件测试常见面试题
linux·python·django·flask·virtualenv·pygame·tornado
tan180°1 小时前
Linux网络IP(上)(15)
linux·网络·tcp/ip
云和数据.ChenGuang2 小时前
运维工程师技术教程之nginx ip访问机制
运维·tcp/ip·nginx
没有名字的鬼3 小时前
RK3399 SSH连接设置
linux·ssh·rk3399·mobaxterm
“αβ”3 小时前
MySQL库的操作
linux·服务器·网络·数据库·c++·mysql·oracle
lhyzws3 小时前
CENTOS上的网络安全工具(二十八)SPARK+NetSA Security Tools容器化部署(4)
linux·spark·centos
岚天start3 小时前
源码编译安装的Nginx增加echo模块过程详解
linux·运维·数据库