hstr/README.md

85 lines
3.4 KiB
Markdown
Raw Normal View History

# HSTR
2018-08-11 20:42:52 +08:00
[![Travis CI](https://travis-ci.org/dvorka/hstr.svg?branch=master)](https://travis-ci.org/dvorka/hstr)
<!--
2018-04-27 15:30:08 +08:00
[![Current release](https://img.shields.io/github/release/dvorka/hstr.svg)](https://github.com/dvorka/hstr/releases)
[![GitHub issues](https://img.shields.io/github/issues/dvorka/hstr.svg?maxAge=360)](https://github.com/dvorka/hstr/issues)
[![All releases downloads](https://img.shields.io/github/downloads/dvorka/hstr/total.svg)](https://github.com/dvorka/hstr/releases)
-->
2018-04-27 15:30:08 +08:00
2018-03-18 01:03:16 +08:00
Easily view, navigate and search your **command history** with shell history suggest box for Bash and
2018-08-13 23:24:18 +08:00
[zsh](CONFIGURATION.md#zsh-history-settings).
2013-12-03 06:47:51 +08:00
[![Shell History Suggest Box](doc/hstr-v2.gif "Shell History Suggest Box @ YouTube")](http://www.youtube.com/watch?v=sPF29NyXe2U)
2013-12-03 06:55:33 +08:00
## Description
Are you looking for a command that you used **recently**? Do you
want to avoid the need to write **long commands** over and over
2018-03-18 01:03:16 +08:00
again? Are you looking for a tool that is able to manage your
**favorite** commands?
2014-04-20 14:00:16 +08:00
2018-08-21 23:31:37 +08:00
HSTR (**H**i**ST**o**R**y) is a command line utility that brings improved Bash/zsh command completion
from the history. It aims to make completion **easier** and more **efficient**
than <kbd>Ctrl</kbd><kbd>r</kbd>.
2013-12-03 06:55:33 +08:00
2018-03-18 01:03:16 +08:00
HSTR can also **manage** your command history (for instance you can remove
commands that are obsolete or contain a piece of sensitive information)
or **bookmark** your favorite commands.
2018-03-18 01:03:16 +08:00
Check [video](http://www.youtube.com/watch?v=sPF29NyXe2U) tutorial.
2013-12-16 15:15:11 +08:00
2014-01-10 08:21:21 +08:00
## Installation
Install:
2018-08-11 14:37:17 +08:00
2015-02-18 13:38:27 +08:00
* [Ubuntu](INSTALLATION.md#ubuntu)
* [Fedora](INSTALLATION.md#fedorarhelcentos)
* [Gentoo](INSTALLATION.md#gentoo)
* [CentOS](INSTALLATION.md#fedorarhelcentos)
* [openSUSE](INSTALLATION.md#opensuse)
* [RHEL](INSTALLATION.md#fedorarhelcentos)
* [Debian](INSTALLATION.md#debianmint)
* [Mint](INSTALLATION.md#debianmint)
2015-02-18 13:38:27 +08:00
* [Arch Linux](INSTALLATION.md#arch-linux)
* [Scientific Linux](INSTALLATION.md#fedorarhelcentos)
2018-08-11 14:48:25 +08:00
* [macOS](INSTALLATION.md#macos)
2014-01-17 11:46:12 +08:00
Build:
2014-01-17 11:46:12 +08:00
* [build on any Linux distro](INSTALLATION.md#build-on-any-linux-distro)
* [build snap](INSTALLATION.md#snap)
* [build on Ubuntu](INSTALLATION.md#build-on-ubuntu)
* [build on Debian](INSTALLATION.md#build-on-debian)
* [build on Fedora](INSTALLATION.md#build-on-fedora)
2018-08-12 05:36:07 +08:00
* [build on Windows Subsystem for Linux (WSL)](INSTALLATION.md#build-on-wsl)
* [build on Cygwin](INSTALLATION.md#build-on-cygwin)
* [build on macOS](INSTALLATION.md#build-on-macos)
Tarball:
* [build and install tarball](INSTALLATION.md#build-and-install-tarball)
2018-08-26 23:53:25 +08:00
## Upgrade
If you are HSTR 1.x user, please read about [HSTR 2.x changes](https://github.com/dvorka/hstr/releases/tag/2.0).
## Configuration
Configure HSTR just by running:
2014-01-27 02:30:09 +08:00
```bash
hstr --show-configuration >> ~/.bashrc
2014-01-27 01:27:28 +08:00
```
For detailed HSTR configuration documentation please refer to [Configuration](CONFIGURATION.md).
## Documentation
Check man page:
```bash
man hstr
2014-01-27 01:27:28 +08:00
```
2014-01-27 01:14:47 +08:00
## In the News
Read about HSTR in [LinuxMagazine](http://www.linux-magazine.com/Issues/2014/164/Bash-History-on-Steroids), [UbuntuGeek](http://www.ubuntugeek.com/tag/hstr-bash-history), [DebianAdmin](http://www.debianadmin.com/hstr-easily-view-navigate-search-and-use-your-command-history-with-shell-history.html), [Tuxdiary](https://tuxdiary.com/2015/02/17/hstr/), [Softpedia](http://linux.softpedia.com/get/Terminals/BASH-Command-History-Completion-103155.shtml) and [OSTechNix](https://www.ostechnix.com/hstr-easily-view-navigate-search-manage-commandline-history/).
2016-11-01 16:30:00 +08:00
2014-01-27 01:14:47 +08:00
## Bugs
2013-12-03 15:54:19 +08:00
https://github.com/dvorka/hstr/issues