[App Sharing] 终端助手 · Terminal Assistant,查找命令一键完成复杂命令
Tofloor
poster avatar
carey
deepin
10 hours ago
Author

终端助手是一个运行在 Bash 终端内的命令速查工具。按 Ctrl+O 弹出一个搜索面板,输入关键词即可从 192 条精选 Linux 命令中快速找到你需要的。选中后自动填入当前命令行,按 Enter 执行。

不需要离开终端窗口,不需要记忆复杂参数,不需要打开浏览器查命令。


✨ 功能特性

特性 说明
Ctrl+O 一键呼出 在终端任意位置按 Ctrl+O 立即弹出
🔍模糊搜索 输入关键词实时过滤(支持命令名、命令本身、分类)
🏷️192 条精选命令 14 个分类,覆盖日常运维、开发、调试所有场景
📋命令带参数格式 cp -r <源> <目标>sed -i 's/old/new/g' <文件>,一看就懂
常用命令标记 最常用的命令标 ★,快速定位
🎯自动填入命令行 选中后直接出现在提示符后,按 Enter 执行
🖥️纯终端运行 不依赖 GUI、X11、xdotool,SSH 远程也能用
⚙️一次安装,永久使用 添加到 .bashrc,每个新终端自动生效

📦 快速安装

一键安装(推荐)

curl -fsSL https://gitee.com/zhazhahuihuihui/terminal-assistant/main/install.sh | bash

手动安装

# 1. 克隆仓库
git clone https://gitee.com/zhazhahuihuihui/terminal-assistant.git
cd terminal-assistant

# 2. 运行安装脚本
chmod +x install.sh
./install.sh

# 3. 立即生效
source ~/.bashrc

仅安装 fzf(如果已有脚本)

# Ubuntu / Debian
sudo apt install fzf

# 或从源码安装
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install --bin

🎮 使用方法

基本操作

1. 打开终端
2. 按 Ctrl+O       → 弹出命令搜索面板
3. 输入关键词       → 实时过滤(如输入 "git" 只看 Git 命令)
4. ↑↓ 方向键       → 选择命令
5. Enter            → 命令填入当前命令行
6. 再按 Enter       → 执行命令

https://gitee.com/zhazhahuihuihui/terminal-assistant?source=header_my_projects

Reply Favorite View the author
All Replies
avatar
carey
deepin
10 hours ago
#1

截图_deepin-terminal_20260510223037.png

截图_deepin-terminal_20260510223102.png

截图_deepin-terminal_20260510223215.png

Reply View the author