zsh4humans
fast-syntax-highlighting
zsh4humans | fast-syntax-highlighting | |
---|---|---|
32 | 13 | |
1,535 | 980 | |
- | 3.8% | |
5.7 | 3.2 | |
27 days ago | 6 months ago | |
Shell | ||
MIT License | BSD 3-clause "New" or "Revised" 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.
zsh4humans
-
Understanding `autoload +X`
You can find specific examples of autoload +X in https://github.com/romkatv/zsh4humans/tree/v5.
-
Which Shell?
zsh4humans (from the creator of Powerlevel10k)
-
"Polus" A new theme for Bash
But I like the Powerlevel10k zsh theme with the Lean Style a bit more than that. I'm using it with his configurable zsh setup as my base + zcomet plugin manager. Otherwise they're pretty similar as far as general looks & use goes.
- How do you set up your local terminal / any special tools I can add to my stack?
-
Demo: zsh4humans ssh teleportation
Docs are here and here. I wouldn't recommend trying zsh4humans if you aren't already comfortable with zsh configs. If you do decide to try it, read all tips linked above and follow as many as you can. The default experience is decent but it's far cry from what you can achieve with a personally tailored config.
-
Sweet Shell: With Oh-My-Zsh, SpaceVim, Starship, True Color, and Demo Mode
OMZ is slow, been using zinit since it came out because OMZ and antigen were so slow to start up. Recently I found zsh4humans [1] which benchmarks much better than any other solution, is portable, and has everything I need with sane configs.
1. https://github.com/romkatv/zsh4humans
-
Long time zinit user looking to trim down my configuration while maintaining easy plugin/binary setup
If you are trying zsh4humans, make sure to read https://github.com/romkatv/zsh4humans/blob/master/tips.md and follows as many tips as possible.
-
Choosing ZSH framework
If you want to try a different preconfigured shell environment, big names are Prezto and zsh4humans. Prezto, like OMZ, comes with a plugin manager built in; zsh4humans does not.
-
How Can I Change the Command Used by the `auto_cd` Option
# with a bare directory, cd there and push it onto the directory stack setopt autocd autopushd # ls whenever we change directory autoload add-zsh-hook .cd.ls(){ ls } add-zsh-hook chpwd .cd.ls # bind Ctrl-O to pop the most recent directory and refresh the prompt # doesn't work with p10k, you'd need something like this: # https://github.com/romkatv/zsh4humans/blob/v5/fn/-z4h-cd-rotate .zle.popd(){ popd -q && zle reset-prompt } zle -N .zle.popd bindkey '^o' popd
- I don't know why, but I love the macOS look! lol
fast-syntax-highlighting
-
Melhorando e configurando seu novo Shell linux. Pt-2
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions && git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting && git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting && git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete
-
fish-shell: the user-friendly command-line shell
Am i the only one who feels fish is not worth it despite of hype? Don't get me wrong. I think that fish is really good shell.
BUT...
After adding the following plugins to zsh(before you chime in, it's just adding these lines,not anything configuring much. also it auto bootstraps on new install), I found out that fish is no where near configured zsh.
1) https://github.com/zdharma-continuum/zinit (plugin manager)
2) https://github.com/zdharma-continuum/fast-syntax-highlightin...
3) https://github.com/zdharma-continuum/history-search-multi-wo...
4) https://github.com/zsh-users/zsh-autosuggestions
5) https://github.com/zsh-users/zsh-completions
6) https://github.com/Aloxaf/fzf-tab
7) any good shell prompt generator like https://github.com/romkatv/powerlevel10k
For example, I use fzf integration for tab completion. Fish's fzf integration is nowhere as good as that of zsh's. Also, posix compat and almost bash compat of zsh is plus.
I acknowledge that zsh isn't perfect shell either and I have tried and failed few times in past to switch to fish. If you provide me compelling reason/s to switch to fish, I am all ears.
-
The features of the Fish shell, but POSIX compliant?
Which modules are you using for zsh? I've migrated to https://github.com/zdharma-continuum/fast-syntax-highlighting and it seems faster than previous one. For autocompletion, I know there is a plugin, but I've switched to fzf's ability to search in history and I don't need it anymore.
- A new fzf-like solution for grepping and opening files
-
Brew for plugins or clone the repo manually...
# https://github.com/zdharma-continuum/fast-syntax-highlighting zinit ice depth"1"; zinit light zdharma-continuum/fast-syntax-highlighting
-
ZSH autocompletion or autosuggestion? And what's syntax highlighting?
ZSH Fast Syntax Highlighting
-
Only me?
If you're on zsh, you may enjoy fast-syntax-highlighting
-
Is this safe to use?
I recently downloaded this syntax highlighter: https://github.com/z-shell/F-Sy-H. This was before I found this one: https://github.com/zdharma-continuum/fast-syntax-highlighting. Could anyone tell me if I need to check my computer for malware? It's just that I'm not sure if it's safe.
-
Choosing ZSH framework
If you decide to piece together your own configuration, things to look for are a prompt (aka "theme") (that's that Starship, suggested in another comment, is), autocompletion, and syntax highlighting. To give you a head start, zsh-users/zsh-autosuggestions is a widely used autosuggestions plugin, and zsh-users/zsh-syntax-highlighting and zdharma-continuum/fast-syntax-highlighting are two widely used syntax highlighters (you'd only use one of the two).
-
Why Bash prompt is not colored in Kitty terminal?
Do you have any plugins in zsh? That looks like a syntax highlighting plugin like this: https://github.com/zdharma-continuum/fast-syntax-highlighting
What are some alternatives?
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.
Warp - Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
zimfw - Zim: Modular, customizable, and blazing fast Zsh framework
fast-syntax-highlightin
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
zsh-vi-mode - 💻 A better and friendly vi(vim) mode plugin for ZSH.
powerlevel10k - A Zsh theme
Shuttle - Shuttle Music Player
zsh-quickstart-kit - A simple ZSH quickstart for using ZSH, zgenom, oh-my-zsh and a curated list of extra plugins. It is designed to be easy to customize without requiring you to maintain your own fork.
FairEmail - Fully featured, open source, privacy friendly email app for Android
xxh - 🚀 Bring your favorite shell wherever you go through the ssh. Xonsh shell, fish, zsh, osquery and so on.
zsh-autosuggestions - Fish-like autosuggestions for zsh