fz
DISCONTINUED
zsh-syntax-highlighting
Our great sponsors
fz | zsh-syntax-highlighting | |
---|---|---|
1 | 65 | |
382 | 16,649 | |
- | 2.5% | |
0.0 | 0.0 | |
over 1 year ago | about 2 months ago | |
Shell | Shell | |
Mozilla Public License 2.0 | 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.
fz
-
Zsh Plugins Commit TOP
fz : - Seamlessly adds fuzzy search to z's tab completion and lets you easily jump around among directories in your history.
zsh-syntax-highlighting
-
Why Oh My ZSH is so cool?
Syntax highlighting
-
ZSH + Oh My ZSH! on Windows with WSL
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
-
Wrote a "plugin manager" shell function. Any ideas for improvement?
if (($+commands[git])); then use_plugin() { local root_dir="${XDG_DATA_HOME:-$HOME/.local/share}/zsh/plugins" local plugin_name=${1:t} # grabbing the 5th field works for a Github url, not necessarily for every url. local plugin_dir=$root_dir/${1//[/:]/_} if ! [[ -d $plugin_dir ]] echo $EPOCHSECONDS > $plugin_dir/update_timestamp # don't continue if cloning failed git clone --depth 1 "$1" "$plugin_dir" || return local timestamp read -r timestamp < $plugin_dir/update_timestamp if ((EPOCHSECONDS - timestamp > 864000)); then # don't update timestamp if pull failed git -C $plugin_dir pull && echo $EPOCHSECONDS > $plugin_dr/update_timestamp # Match common source filenames local file for file in ($plugin_name|${plugin_name:l}).(plugin.zsh|zsh|zsh-theme)(N); do source $plugin_dir/$filename && break done } use_plugin 'https://github.com/zsh-users/zsh-autosuggestions' use_plugin 'https://github.com/zsh-users/zsh-syntax-highlighting' fi
use_plugin 'https://github.com/zsh-users/zsh-autosuggestions' use_plugin 'https://github.com/zsh-users/zsh-syntax-highlighting' ```
-
How to get zsh-autosuggestions and zsh-syntax-highlighting working when installed with xbps?
So I chose to install https://github.com/zsh-users/zsh-autosuggestions and https://github.com/zsh-users/zsh-syntax-highlighting using xbps. Do I need to do anything else to get them working?
-
Why should I care wether my shell is POSIX compliant?
use zsh with the autosuggestions and syntax-highlighting plugins if you want a posix shell with the same features as fish.
-
zsh highlighting makes environment variables invisible when input starts with "$"
$LS_COLORS isn't used to color environment variables, the main highlighter of zsh-syntax-highlighting colors them.
So, I am using oh-my-zsh, and have sourced zsh-syntax-highlighting as a super useful plugin. I am working in Ubuntu using zsh version 5.9.
-
What's your preferred shell & why?
https://github.com/zsh-users/zsh-syntax-highlighting https://github.com/zsh-users/zsh-autosuggestions
-
Only me?
What’s the benefit of this over the much more popular zsh-users/zsh-syntax-highlighting
What are some alternatives?
fast-syntax-highlighting - (Short name F-Sy-H). Syntax-highlighting for Zshell – fine granularity, number of features and multiple shipped themes.
ohmyzsh - 🙃 A delightful community-driven (with 2,100+ 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.
zsh-autosuggestions - Fish-like autosuggestions for zsh
ble.sh - Bash Line Editor―a full-featured line editor written in pure Bash! Syntax highlighting, auto suggestions, vim modes, etc. are available in Bash interactive sessions!
powerlevel10k - A Zsh theme
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
tmux-resurrect - Persists tmux environment across system restarts.
antibody - The fastest shell plugin manager.
ansible-role-zsh - Setup antigen with oh-my-zsh, powerlevel10k theme, fzf, autosuggestions, syntax-highlighting
spaceship-prompt - :rocket::star: Minimalistic, powerful and extremely customizable Zsh prompt
zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore