• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

build/H19-Nov-2020-1,231440

doc/H03-May-2022-194146

etc/bash-completion.d/H19-Nov-2020-5024

man/H19-Nov-2020-234203

snap/H19-Nov-2020-4946

src/H19-Nov-2020-3,8402,956

test/H19-Nov-2020-4,9833,601

.gitignoreH A D19-Nov-2020339 3433

.travis.ymlH A D19-Nov-20201.4 KiB5446

CONFIGURATION.mdH A D19-Nov-20207.2 KiB335237

ChangelogH A D19-Nov-20205 KiB13288

INSTALLATION.mdH A D19-Nov-202010.4 KiB426293

LICENSEH A D19-Nov-202011.1 KiB203169

Makefile.amH A D19-Nov-2020175 86

PKGBUILDH A D19-Nov-20201.4 KiB3833

README.mdH A D19-Nov-20203.9 KiB9569

_config.ymlH A D19-Nov-202026 11

configure.acH A D19-Nov-20204.8 KiB142122

hstr.proH A D19-Nov-20201.7 KiB6355

pad.xmlH A D19-Nov-20204.6 KiB11698

README.md

1# HSTR
2[![Travis CI](https://travis-ci.org/dvorka/hstr.svg?branch=master)](https://travis-ci.org/dvorka/hstr)
3[![Current release](https://img.shields.io/github/release/dvorka/hstr.svg)](https://github.com/dvorka/hstr/releases)
4[![GitHub issues](https://img.shields.io/github/issues/dvorka/hstr.svg?maxAge=360)](https://github.com/dvorka/hstr/issues)
5[![All releases downloads](https://img.shields.io/github/downloads/dvorka/hstr/total.svg)](https://github.com/dvorka/hstr/releases)
6[![License](https://img.shields.io/github/license/dvorka/hstr?color=%23fe0000)](https://github.com/dvorka/hstr/blob/master/LICENSE)
7
8Easily view, navigate and search your **command history** with shell history suggest box for
9[bash](https://www.gnu.org/software/bash/) and [zsh](CONFIGURATION.md#zsh-history-settings).
10
11[![Shell History Suggest Box](doc/hstr-v2.gif "Shell History Suggest Box @ YouTube")](http://www.youtube.com/watch?v=sPF29NyXe2U)
12
13## Description
14Are you looking for a command that you used **recently**? Do you
15want to  avoid the need to write **long commands** over and over
16again? Are you looking for a tool that is able to manage your
17**favorite** commands?
18
19HSTR (**H**i**ST**o**R**y) is a command line utility that brings improved `bash`/`zsh` command completion
20from the history. It aims to make completion **easier** and more **efficient**
21than <kbd>Ctrl-r</kbd>.
22
23HSTR can also **manage** your command history (for instance you can remove
24commands that are obsolete or contain a piece of sensitive information)
25or **bookmark** your favorite commands.
26
27<!-- Check [video](http://www.youtube.com/watch?v=sPF29NyXe2U) tutorial. -->
28
29
30## Installation
31Install:
32
33* [Ubuntu](INSTALLATION.md#ubuntu)
34* [Fedora](INSTALLATION.md#fedorarhelcentosscientific)
35* [Gentoo](INSTALLATION.md#gentoo)
36* [CentOS](INSTALLATION.md#fedorarhelcentosscientific)
37* [openSUSE](INSTALLATION.md#opensuse)
38* [RHEL](INSTALLATION.md#fedorarhelcentosscientific)
39* [Debian](INSTALLATION.md#debianmint)
40* [Mint](INSTALLATION.md#debianmint)
41* [Arch Linux](INSTALLATION.md#archmanjaro-linux)
42* [Manjaro Linux](INSTALLATION.md#archmanjaro-linux)
43* [Scientific Linux](INSTALLATION.md#fedorarhelcentosscientific)
44* [Haiku OS](INSTALLATION.md#haiku-os)
45* [macOS](INSTALLATION.md#macos)
46* [nix package manager](INSTALLATION.md#nix-package-manager)
47* [Guix package manager](INSTALLATION.md#guix-package-manager)
48
49Build:
50
51* [build on any Linux distro](INSTALLATION.md#build-on-any-linux-distro)
52* [build snap](INSTALLATION.md#snap)
53* [build on Ubuntu](INSTALLATION.md#build-on-ubuntu)
54* [build on Debian](INSTALLATION.md#build-on-debian)
55* [build on Fedora](INSTALLATION.md#build-on-fedora)
56* [build on Windows Subsystem for Linux (WSL)](INSTALLATION.md#build-on-wsl)
57* [build on Cygwin](INSTALLATION.md#build-on-cygwin)
58* [build on macOS](INSTALLATION.md#build-on-macos)
59
60Tarball:
61
62* [build and install tarball](INSTALLATION.md#build-and-install-tarball)
63
64
65## Configuration
66Configure HSTR just by running:
67
68```bash
69# bash
70hstr --show-configuration >> ~/.bashrc
71
72# zsh
73hstr --show-configuration >> ~/.zshrc
74```
75For detailed HSTR configuration documentation please refer to [Configuration](CONFIGURATION.md).
76
77
78## Documentation
79Check man page:
80
81```bash
82man hstr
83```
84
85## In the News
86Read 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](http://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/).
87
88
89## Upgrade
90If you are HSTR 1.x user, please read about [HSTR 2.x changes](https://github.com/dvorka/hstr/releases/tag/2.0).
91
92
93## Bugs
94https://github.com/dvorka/hstr/issues
95