首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏caoayu的分享

    Syntax Highlighting

    By {{< highlight go-html-template "linenos=table,hl_lines=1 3-7,linenostart=199" >}}..{{< / highlight >}}

    50221发布于 2020-09-23
  • 来自专栏小工匠聊架构

    白话Elasticsearch62-进阶篇之Highlighting高亮显示

    ---- 概述 继续跟中华石杉老师学习ES,第62篇 课程地址: https://www.roncoo.com/view/55 ---- 官网 7.3版本Highlighting: 戳这里 ?

    1.5K30发布于 2021-08-17
  • 来自专栏石头岛

    oh-my-zsh插件 zsh-autosuggestion自动补全 和 zsh-syntax-highlighting语法高亮

    github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions 看效果 安装 zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom }/plugins/zsh-syntax-highlighting 这个插件会在终端以颜色的方式提示命令是否正确。 正确命令 不正确的命令 添加配置 zsh-autosuggestion 和 zsh-syntax-highlighting vim ~/.zshrc 在 plugins 中换行添加即可 复制代码 plugins=( git zsh-autosuggestions autojump zsh-syntax-highlighting )

    6K80编辑于 2023-10-23
  • 来自专栏10km的专栏

    ultraedit:wordfiles下载页面塈增加对(dos)bat脚本的高亮(syntax highlighting)显示

    版权声明:本文为博主原创文章,转载请注明源地址。 https://blog.csdn.net/10km/article/details/52467968

    1.1K10发布于 2019-05-25
  • 来自专栏kyle的专栏

    使用item2+oh my zsh优化终端体验

    插件,当遇到特殊命令和错误命令时会有高亮,需要使用Homebrew安装: brew install zsh-syntax-highlighting 安装成功之后,使用命令vim ~/.zshrc进入编辑 ,找到plugins增加zsh-syntax-highlighting,并在最后一行增加下面配置: source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh [5wnlisyjto.png] [x8azoxh8go.png] 方法二 如果出现下面这种情况zsh-syntax-highlighting not found,我们使用git方法下载文件,重新启动 item2就好了 git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins /zsh-syntax-highlighting [6zodfbzo37.png] 自动建议填充 和高亮一样,将文件使用git克隆下来以后,添加plugins插件zsh-autosuggestions

    6.4K41发布于 2020-08-24
  • 来自专栏hotarugaliの技术分享

    ArchLinux下zsh配置

    zsh-autosuggestions ) 2.3 语法高亮 oh-my-zsh 配置语法高亮功能需要安装 zsh-syntax-highlighting 插件,具体安装步骤为: 克隆 zsh-syntax-highlighting 仓库到 oh-my-zsh 的插件目录下: git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM :-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting 修改 ~/.zshrc,增加 zsh-syntax-highlighting 项: plugins zsh-syntax-highlighting ) 2.4 配置系统默认 Shell 一般我们安装 zsh 都是用来替代系统上默认的 bash,因此在配置好 zsh 后需要更换系统默认 Shell,更换命令如下

    2.7K10编辑于 2022-03-18
  • 来自专栏Ubuntu建站指南

    Ohmyzsh安装使用,让命令飞起来

    /zsh-users/zsh-syntax-highlighting.gitecho "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh /zsh-syntax-highlighting/zsh-syntax-highlighting.zsh或者在{/root/.oh-my-zsh/plugins/}目录:git clone https: //github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting 然后修改 {~/.zshrc}文件在{plugins=(zsh-syntax-highlighting)}中添加。 plugins=(zsh-syntax-highlighting)还有就是比如autojump这类,自己根据需求安装。

    88120编辑于 2022-10-28
  • 来自专栏叶子的数据科技专栏

    更优雅的命令行输入工具 - Oh-My-ZSH

    这一行里加入插件名称.当插件不包含在官方库中时, 可以自行下载并启用, 以zsh-autosuggestions: zsh-autosuggestions - github为例.zsh-syntax-highlighting /.zsh/zsh-autosuggestions# zsh-syntax-highlightinggit clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh# zsh-syntax-highlightingsource ~/.zsh/zsh-syntax-highlighting /zsh-syntax-highlighting.zshStart a new terminal session.另外, Homebrew可提供了一些插件的下载, 如:# Homebrewbrew install zsh-syntax-highlighting之后同样source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

    1.1K30编辑于 2023-07-22
  • 来自专栏涛的程序人生

    Ubunt下oh my zsh的安装与配置

    ZSH_CUSTOM:-~/.oh-my-zsh}/plugins/zsh-autosuggestions git clone https://gitee.com/lightnear/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh}/plugins/zsh-syntax-highlighting sudo apt-get install autojump vim ~/.zshrc # plugins=(git),改为 plugins=(git zsh-autosuggestions zsh-syntax-highlighting) # ZSH_THEME="xiong-chiamiov-plus

    64010编辑于 2022-05-07
  • 来自专栏caoayu的分享

    linux 安装并配置zsh

    ,这里可以配置一些插件和主题,以及环境变量 ZSH_THEME="agnoster" //主题配置 plugins=( git zsh-autosuggestions zsh-syntax-highlighting ) //插件配置,常用插件,git分支显示,关键字高亮,自动建议 source "$ZSH_CUSTOM/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh https://github.com/zsh-users/zsh-autosuggestions.git git clone https://github.com/zsh-users/zsh-syntax-highlighting.git

    3.8K31发布于 2020-09-23
  • 来自专栏XRSec.Blog

    zsh 配置文件

    install.sh)" sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom }/plugins/zsh-syntax-highlighting zsh-autosuggestions git clone https://github.com/zsh-users/zsh-autosuggestions.git .oh-my-zsh/custom}/plugins/zsh-autosuggestions plug sed -i "s/plugins=(git)/plugins=(git zsh-syntax-highlighting

    1.2K10编辑于 2022-02-13
  • 来自专栏jerryteng的专栏

    打造高效的Mac开发环境

    zsh-autosuggestions $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/zsh-users/zsh-completions $ZSH_CUSTOM/plugins/zsh-completions - git clone https://github.com/zdharma/fast-syntax-highlighting.git $ZSH_CUSTOM/plugins/fast-syntax-highlighting - git clone https://github.com/zsh-users/zsh-history-substring-search git-flow go golang autojump svn gradle npm yarn node sbt grunt glup redis-cli sudo yii2 fast-syntax-highlighting

    1.4K60发布于 2018-09-06
  • 来自专栏振兴的Android修炼手册

    【可视化教程】iTerm2+oh-my-zsh+solarized配色方案

    ITerm修改字体.jpg 设置语法高亮 -- zsh-syntax-highlighting 直接使用homebrew安装zsh-syntax-highlighting插件 brew install zsh-syntax-highlighting 然后在根目录下.zshrc中插入下面内容: source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

    4.6K30发布于 2020-05-29
  • 来自专栏艾小仙

    一年搞3次Iterm2美化,我吐了!

    现在最主流的方式就是用Oh My ZSH+Powerline字体+agnoster主题+zsh-syntax-highlighting语法高亮。 brew install zsh-syntax-highlighting 然后打开~/.zshrc,找到plugins位置修改为以下内容。 ) 同时在文件末尾添加 source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 这时候保存退出,然后重启终端 git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting plugins=(git zsh-autosuggestions zsh-syntax-highlighting) ·················END·················

    3.7K41发布于 2021-04-13
  • 来自专栏公众号:Lucifer三思而后行

    教你美化苹果电脑,终端不会用,Homebrew 没安装?

    ohmyzsh/ohmyzsh/wiki/Themes 五、安装插件 这里推荐一些小插件: thefuck:修复错误命令 zsh-autosuggestions:命令输入提示 zsh-syntax-highlighting 以上插件均可以使用 brew 进行安装: brew install thefuck brew install zsh-autosuggestions brew install zsh-syntax-highlighting oh-my-zsh" DEFAULT_USER="$USER" ZSH_THEME="bira" plugins=( git pip zsh-autosuggestions zsh-syntax-highlighting HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles source /usr/local/share/zsh-syntax-highlighting /zsh-syntax-highlighting.zsh export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/usr/local/share/zsh-syntax-highlighting

    1.3K30编辑于 2022-01-08
  • 来自专栏大大的小蜗牛

    Ubuntu 配置 Oh-My-Zsh

    zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions # zsh-syntax-highlighting 命令行语法高亮 git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh /custom}/plugins/zsh-syntax-highlighting 设置 Oh My Zsh : vi ~/.zshrc 需要修改如下几个地方: ****** POWERLEVEL9K_MODE COMPLETION_WAITING_DOTS="true" ****** plugins=( git extract fasd zsh-autosuggestions zsh-syntax-highlighting

    1.3K20编辑于 2022-12-20
  • 来自专栏impressionyang的个人分享

    终端shell美化

    还原bash(需要重启) chsh -s /bin/bash 查看zsh版本 zsh --version 语法高亮 https://github.com/zsh-users/zsh-syntax-highlighting 因为使用了 oh-my-zsh 故安装简单很多直接 $ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM :-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting 然后在 ~/.zshrc 中加入插件 plugins=( zsh-syntax-highlighting

    3.3K10发布于 2020-08-26
  • 来自专栏Albert陈凯

    MAC上iTerm 2安装与使用

    二、目录 下载安装iTerm 2 安装powerline 安装oh-my-zsh 安装字体库fonts 导入配色 主题设置 添加指令高亮效果zsh-syntax-highlighting 快捷键 See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes ZSH_THEME="agnoster" 九、添加指令高亮效果zsh-syntax-highlighting 下载文件 //克隆项目到本地 git clone git://github.com/zsh-users/zsh-syntax-highlighting.git 编辑.zshrc文件,在最后添加如下内容 source /Users/WENBO/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh plugins=(zsh-syntax-highlighting

    2.7K20发布于 2018-10-11
  • 来自专栏公众号:Lucifer三思而后行

    Homebrew都不会用,还敢自称老司机?

    五、安装插件 这里推荐一些小插件: thefuck:修复错误命令 zsh-autosuggestions:命令输入提示 zsh-syntax-highlighting:命令行高亮显示 autojump 文件夹跳转 以上插件均可以使用brew进行安装: brew install thefuck brew install zsh-autosuggestions brew install zsh-syntax-highlighting oh-my-zsh" DEFAULT_USER="$USER" ZSH_THEME="bira" plugins=( git pip zsh-autosuggestions zsh-syntax-highlighting HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles source /usr/local/share/zsh-syntax-highlighting /zsh-syntax-highlighting.zsh export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/usr/local/share/zsh-syntax-highlighting

    1.6K30发布于 2021-08-17
  • 来自专栏XRSec.Blog

    Docker Centos init

    raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" 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_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions sed -i "s/plugins=(git)/plugins=(git zsh-syntax-highlighting

    1.1K30编辑于 2022-03-12
领券