bash and zsh shell history suggest box - easily view, navigate, search and manage your command history.
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.
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:
$ 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|
$ 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
This HSTR release brings zsh extended history fixes contributed by @thibaultcha and various minor fixes.
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.
This minor release brings improved zsh support and important fixes.
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:
HH_
starting environment variables were changed to be prefixed with HSTR_
..hh_
were renamed to start with .hstr_
.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.apt install hstr
to install HSTR.hstr-
prefix - please update your scripts.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.
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.