Jacky's blog
首页
  • 学习笔记

    • web
    • android
    • iOS
    • vue
  • 分类
  • 标签
  • 归档
收藏
  • tool
  • algo
  • python
  • java
  • server
  • growth
  • frida
  • blog
  • SP
  • more
GitHub (opens new window)

Jack Yang

编程; 随笔
首页
  • 学习笔记

    • web
    • android
    • iOS
    • vue
  • 分类
  • 标签
  • 归档
收藏
  • tool
  • algo
  • python
  • java
  • server
  • growth
  • frida
  • blog
  • SP
  • more
GitHub (opens new window)
  • shell

  • tool

    • mac
    • mac tool
    • c tool
    • platform
    • dev tool
    • java tool
    • IDEA
    • vscode
    • Docker 使用指南
    • unbuntuOnWindows
    • oh-my-zsh
      • path
      • common
      • plugins
      • link
    • github
    • lldb
    • ripgrep 高性能文本搜索工具使用指南
    • appium
    • mvn
    • ffmpeg
    • gradle
    • git 使用指南
    • jenv
    • php-fpm
    • raycast
    • Vim 编辑器入门指南
    • jadx
    • excalidraw
  • 网络

  • algo

  • compute_base

  • blog

  • growth

  • java

  • C&C++

  • ai

  • secure

  • cms

  • english

  • 生活

  • 金融学

  • more

  • other
  • tool
Jacky
2023-06-10
目录

oh-my-zsh

Zsh 是一款功能强大且高度可定制的 Shell, 通过提供更多的便利功能和扩展, 使命令行操作更加高效和愉快。它是许多开发人员和系统管理员喜爱的命令行工具之一

# path

  1. ~/.oh-my-zsh/custom/plugins 这个目录是用来存放自定义的插件的。当你需要创建自己的 zsh 插件时, 可以将插件文件放在这个目录下。这样, 你可以根据自己的需要定制和扩展 Zsh 的功能
  2. ~/.oh-my-zsh/plugins 这个目录是 Oh My Zsh 框架自带的插件存放的地方。当你安装 Oh My Zsh 时, 默认情况下会包含一些常用的插件, 例如 git、npm、syntax-highlighting 等。这些插件可以提供丰富的功能和命令补全, 以增强你的命令行体验。这些插件由 Oh My Zsh 负责管理和更新, 你可以通过编辑 ~/.zshrc 文件中的 plugins 行来启用或禁用这些插件
  3. ~/.zshrc zsh 的配置文件

# common

  • omz update: Run the command to update Oh My Zsh.
  • upgrade_oh_my_zsh: 一个 shell, 用来升级 oh-my-zsh
  • sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)": install on unbuntu
  • sudo apt --purge remove zsh: uninstall on unbuntu

# plugins

common
  1. git 这个是装好 oh-my-zsh 就默认已经开启的

  2. sublime 一个自带的插件, 同样需要自己开启, 针对喜欢用 sublime 的小伙伴

  3. vscode

  4. zsh-autosuggestions

    • install: git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
    • config: edit ~/.zshrc, add plugins=(zsh-autosuggestions)
  5. zsh-syntax-highlighting: 标色

    • git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    • config: edit ~/.zshrc, add plugins=(zsh-syntax-highlighting)

# link

  • ohmyzsh (opens new window)
  • install-zsh-ubuntu (opens new window)
#shell#bash
上次更新: 2025/10/09, 23:53:03
unbuntuOnWindows
github

← unbuntuOnWindows github→

最近更新
01
npx 使用指南
10-12
02
cursor
09-28
03
inspect
07-20
更多文章>
Theme by Vdoing | Copyright © 2019-2025 Jacky | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式