hstr

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

APACHE-2.0 License

Downloads
118
Stars
4.1K
Committers
53

Bot releases are hidden (Show)

hstr - Minor fix release Latest Release

Published by dvorka over 1 year ago

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

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

Download HSTR

hstr - Syscall ioctl/TIOCSTI no longer required

Published by dvorka over 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

hstr - Stabilization Release

Published by dvorka almost 2 years 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

hstr - Minor fix release

Published by dvorka almost 3 years ago

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

Download HSTR

hstr - Insert command in command prompt

Published by dvorka almost 3 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

hstr - Extended zsh history

Published by dvorka almost 4 years ago

hstr-zsh

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

Download HSTR

hstr - HSTR help visibility and control

Published by dvorka almost 5 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

hstr - Improved zsh support

Published by dvorka almost 5 years ago

This minor release brings improved zsh support and important fixes.

Download HSTR

hstr - HSTR v2.0 brings consistency and stability

Published by dvorka about 6 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

hstr - New distros, long lines and unit tests

Published by dvorka about 6 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

hstr - Keyword search becomes the default

Published by dvorka over 6 years ago

Several fixes and improvements contributed by HSTR users. Keyword search becomes the default option - makes matches stronger and simpler to write (than regexps).

Download HSTR

hstr - Repeatable Build and Configurable Confirms

Published by dvorka almost 7 years ago

This minor release brings a fix ensuring repeatable builds and allows to disable confirms on a history entry delete.

Download HSTR

hstr - WLS - Bash on Ubuntu on Windows 10

Published by dvorka about 7 years ago

This release brings WLS (Bash on Ubuntu on Windows 10) support, improved ncurses/ncursesw library lookup and Zesty Zapus distro.

Download HSTR

hstr - ZSH History Management

Published by dvorka over 7 years ago

This minor release brings a fix of ZSH history management.

Download HSTR

hstr - Bottom Prompt

Published by dvorka almost 8 years ago

This release brings a new option for prompt configuration location (top/bottom) and improved UI rendering. In addition are shipped several minor fixes and Ubuntu Yakkety Yak release.

Download HSTR

hstr - Stabilization release

Published by dvorka almost 9 years ago

This minor release brings a fix of regexp mode.

Download HSTR

hstr - Blacklists, Debian and Gentoo

Published by dvorka almost 9 years ago

This minor release bring blacklist configurable from a file (commands that are ignored). It also improves Debian and Gentoo distribution builders.

Download HSTR

hstr - History Management and Color Profiles

Published by dvorka over 9 years ago

This release brings improvements and stabilization of the history management along with terminal background agnostic color profiles.

hstr - First Item Autoselect and Vim Binding

Published by dvorka almost 10 years ago

Minor release that brings first history item autoselect on empty prompt selection, Vim style history navigation binding and several bug fixes.

hstr - Keyboard Search and Improved Highlighting

Published by dvorka almost 10 years ago

New release brings keyboard based search i.e. matching of history entries by occurrence of words in arbitrary order. In addition highlighting of matching segments in history entries has been improved.