Home

Awesome

<p align="center"> <img src="./xHistory/Assets.xcassets/AppIcon.appiconset/icon_128x128@2x.png" width="200" height="200" /> <h1 align="center">xHistory</h1> <h3 align="center">A powerful command line history manager built with SwiftUI<br><a href="./README_zh.md">[中文版本]</a><br><a href="https://lihaoyun6.github.io/xhistory/">[Landing Page]</a></h3> </p>

Screenshots

<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="./img/preview_dark.png"> <source media="(prefers-color-scheme: light)" srcset="./img/preview.png"> <img alt="xHistory Screenshots" src="./img/preview.png" width="610"/> </picture> </p>

Installation and Usage

System Requirements:

Installation:

Download the latest installation file here or install via Homebrew:

brew install lihaoyun6/tap/xhistory

Usage:

Q&A

1. Why don’t executed commands appear in the history panel?

After installing and launching xHistory for the first time, you need to log in to a new shell session for it to work.

2. Why does xHistory need Accessibility permissions?

The “Auto Fill” feature of xHistory simulates keyboard input, which requires Accessibility permissions to function properly.

Donate

<img src="./img/donate.png" width="350"/>

Thanks

KeyboardShortcuts @sindresorhus
SFSMonitor @ClassicalDude
SwiftTreeSitter @ChimeHQ
tree-sitter-bash @tree-sitter
ChatGPT @OpenAI