dotfiles
zsh-history-substring-search
dotfiles | zsh-history-substring-search | |
---|---|---|
3 | 14 | |
15 | 2,451 | |
- | 1.1% | |
7.4 | 3.8 | |
4 months ago | 2 months ago | |
Shell | Shell | |
- | - |
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.
dotfiles
-
Ask HN: Can I see your cheatsheet?
Set a huuuuuuuge shell history https://github.com/craigjperry2/dotfiles/blob/aa77ddcbde63bf... then fzf ctrl+r bindings mean you can recall anything right where you need it.
If you’re going to do this then have an escape hatch for commands you don’t want memorised https://github.com/craigjperry2/dotfiles/blob/aa77ddcbde63bf...
-
Command Line Tools for Productive Programmers
The integration is pretty decent in vim, i have it configured to open a window overlay on n (requires neovim) https://github.com/craigjperry2/dotfiles/blob/main/dotfiles/...
That said, i don't find myself using that as much. Usually i'm in the shell when i invoke nnn - i might open a file in vim from nnn though.
In vim, i typically lean on fzf.vim more often - usually i know something about the next file i want to open so it just feels more direct.
zsh-history-substring-search
-
Fly through your shell history
How does this differ from https://github.com/zsh-users/zsh-history-substring-search ? Except that yours seems to be built-in and zsh-history-substring-search is ~800 lines of zsh
-
Make Your Linux Terminal Enjoyable to Use
git clone --depth 1 "https://github.com/zsh-users/zsh-history-substring-search" $HOME/.oh-my-zsh/custom/plugins/zsh-history-substring-search
-
Show HN: TBMK – A Commands Bookmark for Terminal
Agreed, but also https://github.com/zsh-users/zsh-history-substring-search for me.
I can't life without this one anymore
-
What plugin is used to autocomplete paths? (Here the user types ~ and / and the path to the file is automatically shown)
It is the feature of fish shell, which is also ported to zsh via zsh-history-substring-search plugin.
-
History: how to suggest previous ls... command
zsh-history-substring-search: This is a clean-room implementation of the Fish shell's history search feature, where you can type in any part of any command from history and then press chosen keys, such as the UP and DOWN arrows, to cycle through matches.
-
zsh
In most shells, you can make use of Ctrl+R to perform backwards search through your history. After pressing Ctrl+R, you can type a substring you want to match for commands in your history. As you keep pressing it, you will cycle through the matches in your history. This can also be enabled with the UP/DOWN arrows in zsh.
-
Does anyone know the best practice insofar as where to place aliases, plugins and functions
That doesn't have the same behavior as fish. This plugin does: https://github.com/zsh-users/zsh-history-substring-search
-
Fixed the meme
zsh-history-substring-search allows you to do the same thing in zsh
-
Finding that command you need
In that case, history substring search can come in handy.
-
My favorite zsh history plugin
if you're going to use a fork of zdharma's work, this one might be better https://github.com/zsh-users/zsh-history-substring-search (maintained by a group)
What are some alternatives?
watchexec - Executes commands in response to file modifications
fzf - :cherry_blossom: A command-line fuzzy finder
nnn - n³ The unorthodox terminal file manager
zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
murex - A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
fx - Terminal JSON viewer & processor
zsh4humans - A turnkey configuration for Zsh
cheatsheet - 📜 A compendium of CLI commands I can't stop looking up
zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.
libqalculate - Qalculate! library and CLI