2015-05-11 22:05:08 +08:00
hstr
2013-12-03 06:47:51 +08:00
====
2015-05-09 20:44:36 +08:00
Easily view, navigate, search and use your command history with shell history suggest box for Bash and
[Zsh ](CONFIGURATION.md#zsh-history-settings ).
2013-12-03 06:47:51 +08:00
2018-01-11 19:01:13 +08:00
[![Shell History Suggest Box ](http://me.mindforger.com/projects/images/hh-animated-01.gif "Shell History Suggest Box @ YouTube" )](http://www.youtube.com/watch?v=sPF29NyXe2U)
2014-01-20 04:54:14 +08:00
2013-12-03 06:55:33 +08:00
DESCRIPTION
-----------
2014-12-20 17:43:36 +08:00
Are you looking for a command that you used **recently** ? Do you
want to avoid the need to write **long commands** over and over
2014-04-27 14:26:30 +08:00
again despite you used them recently? Are you looking
2014-12-20 17:43:36 +08:00
for a tool that is able to manage your **favorite** commands?
2014-04-20 14:00:16 +08:00
2015-05-09 20:44:36 +08:00
HSTR is a command line utility that brings improved Bash command completion
2014-12-20 17:43:36 +08:00
from the history. It aims to make completion **easier** and more **efficient**
2015-05-28 13:03:14 +08:00
than < kbd > Ctrl-r< / kbd > .
2013-12-03 06:55:33 +08:00
2015-05-09 20:44:36 +08:00
Apart to the completion, history can be **managed** (you can remove
2014-04-13 16:04:02 +08:00
commands that e.g. contain sensitive information like
passwords) and bookmark your favorite commands.
2014-04-13 16:02:25 +08:00
2014-12-20 17:40:00 +08:00
Enjoy [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
2015-01-08 05:36:50 +08:00
INSTALLATION
------------
2015-02-18 13:38:27 +08:00
Install HSTR:
* download [distribution ](INSTALLATION.md#distribution-installation )
* build from [source code ](INSTALLATION.md#installation-from-source-code )
* [Ubuntu ](INSTALLATION.md#ubuntu )
2015-08-31 04:34:51 +08:00
* [Fedora ](INSTALLATION.md#fedorarhelcentos )
* [Gentoo ](INSTALLATION.md#gentoo )
* [CentOS ](INSTALLATION.md#fedorarhelcentos )
2016-01-15 00:21:46 +08:00
* [openSUSE ](INSTALLATION.md#opensuse )
2015-08-31 04:34:51 +08:00
* [RHEL ](INSTALLATION.md#fedorarhelcentos )
2015-02-23 05:03:51 +08:00
* [Debian ](INSTALLATION.md#debianmint )
* [Mint ](INSTALLATION.md#debianmint )
2015-02-18 13:38:27 +08:00
* [Arch Linux ](INSTALLATION.md#arch-linux )
2015-08-31 04:34:51 +08:00
* [Scientific Linux ](INSTALLATION.md#fedorarhelcentos )
2017-06-05 12:49:15 +08:00
* [Bash on Ubuntu on Windows (WLS) ](INSTALLATION.md#wls )
2017-06-04 05:01:49 +08:00
* [Cygwin on Windows ](INSTALLATION.md#cygwin )
2015-02-18 13:38:27 +08:00
* [Mac OS ](INSTALLATION.md#mac-os )
2014-01-17 11:46:12 +08:00
2015-01-08 05:36:50 +08:00
CONFIGURATION
-------------
2015-02-18 13:38:27 +08:00
Optionally configure HSTR just by running:
2014-01-27 02:30:09 +08:00
```bash
2014-01-27 01:27:28 +08:00
hh --show-configuration >> ~/.bashrc
```
2015-01-08 06:44:07 +08:00
For detailed `hh` configuration documentation please refer to [Configuration ](CONFIGURATION.md ).
2014-01-13 14:23:02 +08:00
2015-01-08 05:36:50 +08:00
DOCUMENTATION
-------------
Check `hh` man page:
2014-02-01 02:46:18 +08:00
```bash
2015-01-08 05:36:50 +08:00
man hh
2014-01-27 01:27:28 +08:00
```
2014-01-27 01:14:47 +08:00
2016-11-01 16:30:00 +08:00
IN THE NEWS
-----------
2016-11-01 16:30:45 +08:00
Read about `hh` 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/ ) or [Softpedia ](http://linux.softpedia.com/get/Terminals/BASH-Command-History-Completion-103155.shtml ).
2016-11-01 16:30:00 +08:00
2014-01-27 01:14:47 +08:00
2013-12-03 06:55:33 +08:00
BUGS
----
2013-12-03 15:54:19 +08:00
https://github.com/dvorka/hstr/issues