zsh-history-substring-search
starship
Our great sponsors
zsh-history-substring-search | starship | |
---|---|---|
14 | 298 | |
2,442 | 40,684 | |
1.9% | 3.0% | |
3.8 | 9.7 | |
about 2 months ago | 7 days ago | |
Shell | Rust | |
- | ISC 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.
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)
starship
-
Atuin β Magical Shell History
Agreed, I use this in conjunction with Starship [1], both initialized specifically for Fish in the config. I love this shell so much.
[1] - https://starship.rs/
- Starship.rs: minimal, fast prompt for any shell
- Starship: The minimal, fast, and customizable prompt
-
Oh My Zsh
starship is the new spaceship, yo
https://starship.rs/
- Starship: Minimal, fast, infinitely customizable prompt for any shell
-
Z β Jump Around
It seems like the Rust community is quite happy to support alternative shells. Iβve seen couple of projects, now, that support way more esoteric shells than I would expect, like βxonshβ. Starship (https://starship.rs/) immediately comes to mind.
- MacOS tools to make your life easier
-
[MacOS] Setting up zsh in MacOS, any hints, dos/don'ts, advice, or guides?
Until now I have been using bash on Windows with Starship as the prompt. The only reason I went with Starship, is that it was easy to setup and at the time I did not have much free time to devout to the shell/prompt configuration.
-
Monaspace
I'm staying on BitstromWera Nerd Font. Works great with Starship.
https://www.nerdfonts.com/font-downloads
https://starship.rs
-
Organizing Multiple Git Identities
I use conditional includes for this, but I also add a single letter describing which Git identity I'm currently using to my PS1 so that it appears before $ in my shell prompt. This prevents me from committing code with the wrong identity, in case I'm using a git checkout that's anywhere not covered by the conditional include rules.
I use Starship (https://starship.rs) to manage my prompt, and wrote a short script that only runs if I'm somewhere in a git repo, and if so finds my Git user's email and looks up the corresponding letter in an associative array declared in my ~/.config/starship-zsh/.zshenv:
git_email=$(git config --get user.email | perl -pe 'chomp if eof')
What are some alternatives?
fzf - :cherry_blossom: A command-line fuzzy finder
oh-my-posh - The most customisable and low-latency cross platform/shell prompt renderer
zsh-autocomplete - π€ Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
spaceship-prompt - :rocket::star: Minimalistic, powerful and extremely customizable Zsh prompt
zsh4humans - A turnkey configuration for Zsh
powerlevel10k - A Zsh theme
zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.
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.
libqalculate - Qalculate! library and CLI
murex - A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)
alacritty - A cross-platform, OpenGL terminal emulator.