linenoise
hstr
linenoise | hstr | |
---|---|---|
6 | 36 | |
3,658 | 3,924 | |
- | - | |
2.4 | 2.4 | |
15 days ago | 23 days ago | |
C | C | |
BSD 2-clause "Simplified" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
linenoise
-
Keyboard Shortcuts every Command Line Hacker should know about GNU Readline
In a similar vein there's also Linenoise form the creator of Redis.
https://github.com/antirez/linenoise
-
Anyone have a shell / device hosted CLI they like?
They use a combination of linenoise and argtable3,
- Release v1.0.0 of lionkor/commandline, a getline()-like library for asynchronous termnial I/O in modern C++
-
Is C++ Still Worth Learning? Absolutely! Yes Rust And Go Are Awesome. There Is Still Work To Be Done In C++
oldschool text adventure (with linenoise or replxx)
-
Git's list of banned C functions
His linenoise library is my favorite.
-
C using arrow keys .
Use linenoise.
hstr
-
Linux terminal user
hstr
-
History
I think you might like the hstr tool.
-
Does anyone else get by using ctrl + r 90% of the time?
You might want to check out hh from hstr, supercharged version of this.
-
ioctl and TIOCSTI alternatives
I'm trying to fix a terminal utility call hstr that used the ioctl(0, TIOCSTI, char) function to print the command selected from the user to the terminal ready to be used.
-
Ask HN: Programs that saved you 100 hours? (2022 edition)
You should try hstr: https://github.com/dvorka/hstr
It's saved me countless hours over the years as it's just so much better than regular CTRL-R. Works with regular Bash, no need to switch shells.
- Hstr: Bash and zsh shell history suggest box
-
Is there any way to have a "longterm history" in addition to the normal history?
Check out https://github.com/dvorka/hstr - helps a lot with managing she'll history.
-
Keyboard Shortcuts every Command Line Hacker should know about GNU Readline
I was doing history grep too until someone on HN told me about hstr:
https://github.com/dvorka/hstr
- Jlevy/the-art-of-command-line: Master the command line, in one page
What are some alternatives?
replxx - A readline and libedit replacement that supports UTF-8, syntax highlighting, hints and Windows and is BSD licensed.
fzf - :cherry_blossom: A command-line fuzzy finder
microrl - micro read line library for small and embedded devices
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
awesome-hpp - A curated list of awesome header-only C++ libraries
autocomplete - IDE-style autocomplete for your existing terminal & shell
nuspell - 🖋️ Fast and safe spellchecking C++ library
bashmarks - Directory bookmarks for the shell
libnklabs - NK Labs Common Library
zoxide - A smarter cd command. Supports all major shells.
commandline - A C++ commandline for use in servers and chat software. Provides very simple asynchronous input/output.
fasd - Command-line productivity booster, offers quick access to files and directories, inspired by autojump, z and v.