zsh-syntax-highlighting
fast-syntax-highlighting
Our great sponsors
zsh-syntax-highlighting | fast-syntax-highlighting | |
---|---|---|
72 | 11 | |
19,053 | 1,258 | |
1.9% | - | |
5.9 | 1.8 | |
about 1 month ago | almost 3 years ago | |
Shell | Shell | |
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.
zsh-syntax-highlighting
-
Setting up a MacBook for development in 2024
brew install fzf # for fuzzy find files, commands, etc brew install starship $(brew --prefix)/opt/fzf/install git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting # syntax highlight for zsh git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions # smart autosuggestions for zsh echo 'eval "$(starship init zsh)"' >> ~/.zshrc
-
Quickest path to a decent zsh setup?
# run this git clone https://github.com/zsh-users/zsh-syntax-highlighting $ZSH/custom/zsh-syntax-highlighting # add this to your .zshrc plugin=(... zsh-syntax-highlighting)
-
Arch Installation for Beginners
$ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting $ git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
-
Configurando Alpine Linux, tmux e neovim no WSL2 - parte 1
sudo git clone https://github.com/zsh-users/zsh-syntax-highlighting.git echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
- better than admitting I'm too too lazy to correct the command
-
[Question] What are the best plugins for zsh ?
Two by far the most popular plugins are zsh-syntax-highlighting and zsh-autosuggestions. They are of high quality and quite useful.
-
Configuração do Windows para desenvolvimento
echo "Installing zsh-autosuggestions" git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions echo "Installing zsh-syntax-highlighting" git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting echo "Installing asdf" git clone https://github.com/asdf-vm/asdf.git ~/.asdf
-
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
fast-syntax-highlighting
-
Is this safe to use?
I’m concerned because I found this repo https://github.com/zdharma/fast-syntax-highlighting which tries to imitate the old repo (before it was deleted). It’s a fork from the z-shell one. I don’t know if they’re both from the sane owner but I find it sketchy. Also z-shell doesn’t have as many stars as zdharma-continuum.
-
Is there any OMZ plugin to enable inlined emacs lisp syntax highlighting?
It might even work with the highlighting you're already using with OMZ, but the demo uses syntax highlighting from: fast syntax highlighting
-
fast-syntax-highlighting VS fast-syntax-highlighting - a user suggested alternative
2 projects | 5 Jul 2022
-
https://github.com/zdharma has suddenly disappeared. I haven't found any statement from Sebastian as to why. Sebastian Gniazdowski is the author of well know projects such as `zinit` and `fast-syntax-highlighting` and regular contributor to this community. Anyone have any background about why?
Even http://zdharma.org/ is gone
- command line history
-
Is Completion-Aware Syntax Highlighting Possible?
I use https://github.com/zdharma/fast-syntax-highlighting which highlights git --version differently than git --asdf. AFAIK it uses the completions to "know" what options are valid.
-
I tried bash , zsh and fish
Syntax highlighting at https://github.com/zdharma/fast-syntax-highlighting
-
https://np.reddit.com/r/archlinux/comments/nr988v/i_feel_like_an_idiot/h19017f/
# Plugin: zsh-abbr # Fish like expansion of abbreviations. # https://github.com/olets/zsh-abbr . /home/tuncay/.config/zsh/zsh-abbr/zsh-abbr.zsh # Plugin: zsh-autocomplete # Realtime auto completion. # Note: Remove any calls to `compinit` from `.zshrc`. # https://github.com/marlonrichert/zsh-autocomplete . /home/tuncay/.config/zsh/zsh-autocomplete/zsh-autocomplete.plugin.zsh # Plugin: fast-syntax-highlighting # Syntax highlighting like source codes in an editor. # https://github.com/zdharma/fast-syntax-highlighting . /home/tuncay/.config/zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
- I feel like an idiot.
- Newbie question // fish or zsh
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.
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
ble.sh - Bash Line Editor―a line editor written in pure Bash with syntax highlighting, auto suggestions, vim modes, etc. for Bash interactive sessions.
zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
zsh-autosuggestions - Fish-like autosuggestions for zsh
zsh-completions - Additional completion definitions for Zsh.
zimfw - Zim: Modular, customizable, and blazing fast Zsh framework
oh-my-bash - A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
awesome-zsh-plugins - A collection of ZSH frameworks, plugins, themes and tutorials.
powerlevel10k - A Zsh theme
history-search-multi-word