Hstr Versions Save

bash and zsh shell history suggest box - easily view, navigate, search and manage your command history.

3.1

1 year ago

This minor minor release brings fix of Bash function :lady_beetle: which replaces TIOCSTI syscall.

Kudos to @jakedane for finding the bug in 3.0.0 and help with repro and fix.

Download HSTR

3.0

1 year ago

This major release adds ability of HSTR to work on operating systems and Linux kernels without ioctl/TIOCSTI syscall support (https://github.com/dvorka/hstr/issues/478). Please make sure to add/update your Bash/Zsh configuration in case you use HSTR on such systems.

Download HSTR

2.6

1 year ago

New HSTR release brings several memory leak and overflow fixes, MacPorts and Debian documentation, Snap script fix and GitHub Actions workflow.

Kudos to @juppytt, @herbygillot, @ihsinme and others for contributions!

Download HSTR

2.5

2 years ago

This minor minor release brings build stabilization by fix of mvprintw() compilation :lady_beetle:

Download HSTR

2.4

2 years ago

New HSTR release brings parameter which can be used to insert commands in terminal prompt:

$ hstr --insert-in-terminal="ls -hal"
$ ls -hal|

It is useful whenever you need to:

  • construct complex command using a shell script to modify current shell with source and check and/or edit it prior running:
$ hstr --insert-in-terminal="`my-script-which-constructs-command.sh`"
$ export CONDA_INSTALL_DIR=/opt/conda/acme && unset PYTHONPATH && source ../.rc_conda && conda activate env_prj|
  • insert command to terminal prompt directly from a shell script to modify current shell:
$ cat my-script-which-inserts-command.sh
...
hstr --insert-in-terminal="${CMD} -vvv ${REQUIRED_PARAMS} ${OPTIONAL_PARAMS} ${2}"
...
$ ./my-script-which-inserts-command.sh
ACME builder:
  clean ... DONE
  build ... DONE
Ready to test product:
$ pytest -vvv -n 8 --use-fixture-cache tests/feature_test.py::test_case|

Overall this feature aims to help you to be faster and get more out of your shell scripts.

Enjoy!


| in the examples above indicates cursor position

2.3

3 years ago

hstr-zsh

This HSTR release brings zsh extended history fixes contributed by @thibaultcha and various minor fixes.

Download HSTR

2.2

4 years ago

This HSTR release brings ability to toggle help lines visibility and location (contributed by @bibermann), zsh support improvements and major code review/fixes of memory leaks.

Download HSTR

2.1

4 years ago

This minor release brings improved zsh support and important fixes.

Download HSTR

2.0

5 years ago

This major HSTR release resolves confusing hstr/hh ambuiguity by choosing hstr to be the only name used. hh becomes just a shell alias. Therefore this release introduces backward incompatible changes:

  • All HH_ starting environment variables were changed to be prefixed with HSTR_.
  • Similarly configuration file names starting with .hh_ were renamed to start with .hstr_.
  • Identifiers used in HSTR_CONFIG environment variable were changed to avoid clashes e.g. favorites to favorites-view. Please check man page for details and update your 1.x.x configuration.
  • Ubuntu package name was changed - use: apt install hstr to install HSTR.
  • Tarball name was changed as well to have hstr- prefix - please update your scripts.
  • See #309 for more details.

In addition to that Bash autocomplete configuration has been added, long commands handling improved and all memory leaks fixed.

If you have any questions, suggestions or problem (package maintainers in particular) please don't hesitate to contact me.

Download HSTR

1.27

5 years ago

This major release brings long lines support, development migration to QtCreator IDE, rewrite of all packaging scripts, new distros (my new Debian PPA, Fedora .rpm, snap, tarball, ...), running Travis CI, Unity test framework + unit tests, documentation update and various fixes.

Download HSTR