Releases: dvorka/hstr
Minor fix release
Syscall ioctl/TIOCSTI no longer required
This major release adds ability of HSTR
to work on operating systems and Linux kernels without ioctl/TIOCSTI
syscall support (#478). Please make sure to add/update your Bash/Zsh configuration in case you use HSTR
on such systems.
Stabilization Release
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!
Minor fix release
Insert command in command prompt
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
Extended zsh history
This HSTR release brings zsh extended history fixes contributed by @thibaultcha and various minor fixes.
HSTR help visibility and control
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.
Improved zsh support
This minor release brings improved zsh support and important fixes.
HSTR v2.0 brings consistency and stability
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 withHSTR_
. - 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
tofavorites-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.
New distros, long lines and unit tests
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.