git-fuzzy
zsh-history-substring-search
git-fuzzy | zsh-history-substring-search | |
---|---|---|
6 | 14 | |
2,282 | 2,451 | |
- | 1.4% | |
4.9 | 3.8 | |
6 months ago | 2 months ago | |
Shell | Shell | |
MIT License | - |
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.
git-fuzzy
-
Ask HN: Best thing you've made in CLI
Mine: https://github.com/bigH/git-fuzzy
Bonus points if you have something you're currently working on.
-
Lazygit: Simple terminal UI for Git commands
I found lazygit after building something of my own thay solves some of these problems for me - git-fuzzy [0].
I'd like to share some of my thoughts about the comparison.
lazygit is a TUI for git which can behave in a standalone fashion. It's also designed to be quick and easy to use to perform quite advanced actions but ones that a seasoned git user may really want when working with git history. Since I'm already a seasoned git user the main feature I like about lazygit is the ability to surgically work with patches.
All that said, a majority of my workflow is tightly bound to git-fuzzy. I use its CLI composability quite heavily in combination with aliases and functions - git-fuzzy excels in this particular way (`git fuzzy log $(git fuzzy branch)` which I invoke using `gl $(gb)` by way of aliases). git-fuzzy is better for working with git-log or git-reflog and interactively searching them.
I personally quite like what I made (for myself), though I wish there was a world where I could quickly and easily mash both of these projects together.
[0] https://github.com/bigH/git-fuzzy
-
Ask HN: Most interesting tech you built for just yourself?
I'm slightly embarrassed that in terms of building personally relevant things, my proudest (digital) work is always shell scripts I use daily. Most of my personal projects are non-technical meat-space things like building with wood and the like. Here's some that I've open-sourced:
- A git interface using fzf that works pretty nicely and is very composable. https://github.com/bigH/git-fuzzy
- An interactive evaluator, perfect for interactive `sed`, `grep`, `jq`, etc. If properly configured, it'll keep history per command or using whatever key you give it. I find myself using it often with `jq`. https://github.com/bigH/interactively
There are many other shell functions/scripts that are interesting from my `dotfiles`. Particularly interesting snippets for anyone who wants them:
- A recursize `which` that follows symlinks and stops at a real file. https://github.com/bigH/dotfiles/blob/3d48792b4e910d2fc82504...
- A `watch` alternative that runs in the current shell. https://github.com/bigH/dotfiles/blob/3d48792b4e910d2fc82504...
- Ask HN: Have you created programs for only your personal use?
- Show HN: Surprising interactive `git log` search
-
Zsh Plugins Commit TOP
git-fuzzy : ⌛ - A CLI interface to git that relies heavily on fzf.
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?
zsh-autosuggestions - Fish-like autosuggestions for zsh
fzf - :cherry_blossom: A command-line fuzzy finder
zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.
zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
base16-shell - Base16 for Shells
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
awesome-zsh-plugins - A collection of ZSH frameworks, plugins, themes and tutorials.
zsh4humans - A turnkey configuration for Zsh
ranger - A VIM-inspired filemanager for the console
judo - Simple orchestration & configuration management
libqalculate - Qalculate! library and CLI