ohmyzsh

 

als

 

 

  ~ als
[$'\n]
	gup = $'\n    print -Pu2 "%F{yellow}[oh-my-zsh] \'%F{red}gup%F{yellow}\' is a deprecated alias, using \'%F{green}gpr%F{yellow}\' instead.%f"\n    gpr
	gupa = $'\n    print -Pu2 "%F{yellow}[oh-my-zsh] \'%F{red}gupa%F{yellow}\' is a deprecated alias, using \'%F{green}gpra%F{yellow}\' instead.%f"\n    gpra
	gupav = $'\n    print -Pu2 "%F{yellow}[oh-my-zsh] \'%F{red}gupav%F{yellow}\' is a deprecated alias, using \'%F{green}gprav%F{yellow}\' instead.%f"\n    gprav
	gupom = $'\n    print -Pu2 "%F{yellow}[oh-my-zsh] \'%F{red}gupom%F{yellow}\' is a deprecated alias, using \'%F{green}gprom%F{yellow}\' instead.%f"\n    gprom
	gupomi = $'\n    print -Pu2 "%F{yellow}[oh-my-zsh] \'%F{red}gupomi%F{yellow}\' is a deprecated alias, using \'%F{green}gpromi%F{yellow}\' instead.%f"\n    gpromi
	gupv = $'\n    print -Pu2 "%F{yellow}[oh-my-zsh] \'%F{red}gupv%F{yellow}\' is a deprecated alias, using \'%F{green}gprv%F{yellow}\' instead.%f"\n    gprv

[\gitk]
	gk = \gitk --all --branches &!
	gke = \gitk --all $(git log --walk-reflogs --pretty=%h) &!

[_default]
	... = ../..
	.... = ../../..
	..... = ../../../..
	...... = ../../../../..
	python = /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
	glp = _git_log_prettily
	ggpur = ggu
	gstu = gsta --include-untracked
	gtl = gtl(){ git tag --sort=-v:refname -n --list "${1}*" }; noglob gtl
	run-help = man
	md = mkdir -p
	globurl = noglob urlglobber
	history = omz_history
	rd = rmdir
	_ = sudo
	which-command = whence
	z = zshz 2>&1

[cd]
	- = cd -
	1 = cd -1
	2 = cd -2
	3 = cd -3
	4 = cd -4
	5 = cd -5
	6 = cd -6
	7 = cd -7
	8 = cd -8
	9 = cd -9
	grt = cd "$(git rev-parse --show-toplevel || echo .)

[defaults]
	hidefiles = defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder
	showfiles = defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder

[git]
	g = git
	ga = git add
	gaa = git add --all
	gam = git am
	gama = git am --abort
	gamc = git am --continue
	gams = git am --skip
	gamscp = git am --show-current-patch
	gap = git apply
	gapa = git add --patch
	gapt = git apply --3way
	gau = git add --update
	gav = git add --verbose
	gb = git branch
	gbD = git branch --delete --force
	gba = git branch --all
	gbd = git branch --delete
	gbg = LANG=C git branch -vv | grep ": gone\]
	gbgD = LANG=C git branch --no-color -vv | grep ": gone\]" | cut -c 3- | awk '\''{print $1}'\'' | xargs git branch -D
	gbgd = LANG=C git branch --no-color -vv | grep ": gone\]" | cut -c 3- | awk '\''{print $1}'\'' | xargs git branch -d
	gbl = git blame -w
	gbm = git branch --move
	gbnm = git branch --no-merged
	gbr = git branch --remote
	gbs = git bisect
	gbsb = git bisect bad
	gbsg = git bisect good
	gbsn = git bisect new
	gbso = git bisect old
	gbsr = git bisect reset
	gbss = git bisect start
	gc = git commit --verbose
	'gc!' = git commit --verbose --amend
	gcB = git checkout -B
	gca = git commit --verbose --all
	'gca!' = git commit --verbose --all --amend
	gcam = git commit --all --message
	'gcan!' = git commit --verbose --all --no-edit --amend
	'gcann!' = git commit --verbose --all --date=now --no-edit --amend
	'gcans!' = git commit --verbose --all --signoff --no-edit --amend
	gcas = git commit --all --signoff
	gcasm = git commit --all --signoff --message
	gcb = git checkout -b
	gcd = git checkout $(git_develop_branch)
	gcf = git config --list
	gcfu = git commit --fixup
	gcl = git clone --recurse-submodules
	gclean = git clean --interactive -d
	gclf = git clone --recursive --shallow-submodules --filter=blob:none --also-filter-submodules
	gcm = git checkout $(git_main_branch)
	gcmsg = git commit --message
	gcn = git commit --verbose --no-edit
	'gcn!' = git commit --verbose --no-edit --amend
	gco = git checkout
	gcor = git checkout --recurse-submodules
	gcount = git shortlog --summary --numbered
	gcp = git cherry-pick
	gcpa = git cherry-pick --abort
	gcpc = git cherry-pick --continue
	gcs = git commit --gpg-sign
	gcsm = git commit --signoff --message
	gcss = git commit --gpg-sign --signoff
	gcssm = git commit --gpg-sign --signoff --message
	gd = git diff
	gdca = git diff --cached
	gdct = git describe --tags $(git rev-list --tags --max-count=1)
	gdcw = git diff --cached --word-diff
	gds = git diff --staged
	gdt = git diff-tree --no-commit-id --name-only -r
	gdup = git diff @{upstream}
	gdw = git diff --word-diff
	gf = git fetch
	gfa = git fetch --all --tags --prune --jobs=10
	gfg = git ls-files | grep
	gfo = git fetch origin
	gg = git gui citool
	gga = git gui citool --amend
	ggpull = git pull origin "$(git_current_branch)
	ggpush = git push origin "$(git_current_branch)
	ggsup = git branch --set-upstream-to=origin/$(git_current_branch)
	ghh = git help
	gignore = git update-index --assume-unchanged
	gignored = git ls-files -v | grep "^[[:lower:]]
	git-svn-dcommit-push = git svn dcommit && git push github $(git_main_branch):svntrunk
	gl = git pull
	glg = git log --stat
	glgg = git log --graph
	glgga = git log --graph --decorate --all
	glgm = git log --graph --max-count=10
	glgp = git log --stat --patch
	glo = git log --oneline --decorate
	glod = git log --graph --pretty="%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset
	glods = git log --graph --pretty="%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset" --date=short
	glog = git log --oneline --decorate --graph
	gloga = git log --oneline --decorate --graph --all
	glol = git log --graph --pretty="%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset
	glola = git log --graph --pretty="%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset" --all
	glols = git log --graph --pretty="%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset" --stat
	gluc = git pull upstream $(git_current_branch)
	glum = git pull upstream $(git_main_branch)
	gm = git merge
	gma = git merge --abort
	gmc = git merge --continue
	gmff = git merge --ff-only
	gmom = git merge origin/$(git_main_branch)
	gms = git merge --squash
	gmtl = git mergetool --no-prompt
	gmtlvim = git mergetool --no-prompt --tool=vimdiff
	gmum = git merge upstream/$(git_main_branch)
	gp = git push
	gpd = git push --dry-run
	gpf = git push --force-with-lease --force-if-includes
	'gpf!' = git push --force
	gpoat = git push origin --all && git push origin --tags
	gpod = git push origin --delete
	gpr = git pull --rebase
	gpra = git pull --rebase --autostash
	gprav = git pull --rebase --autostash -v
	gpristine = git reset --hard && git clean --force -dfx
	gprom = git pull --rebase origin $(git_main_branch)
	gpromi = git pull --rebase=interactive origin $(git_main_branch)
	gprum = git pull --rebase upstream $(git_main_branch)
	gprumi = git pull --rebase=interactive upstream $(git_main_branch)
	gprv = git pull --rebase -v
	gpsup = git push --set-upstream origin $(git_current_branch)
	gpsupf = git push --set-upstream origin $(git_current_branch) --force-with-lease --force-if-includes
	gpu = git push upstream
	gpv = git push --verbose
	gr = git remote
	gra = git remote add
	grb = git rebase
	grba = git rebase --abort
	grbc = git rebase --continue
	grbd = git rebase $(git_develop_branch)
	grbi = git rebase --interactive
	grbm = git rebase $(git_main_branch)
	grbo = git rebase --onto
	grbom = git rebase origin/$(git_main_branch)
	grbs = git rebase --skip
	grbum = git rebase upstream/$(git_main_branch)
	grev = git revert
	greva = git revert --abort
	grevc = git revert --continue
	grf = git reflog
	grh = git reset
	grhh = git reset --hard
	grhk = git reset --keep
	grhs = git reset --soft
	grm = git rm
	grmc = git rm --cached
	grmv = git remote rename
	groh = git reset origin/$(git_current_branch) --hard
	grrm = git remote remove
	grs = git restore
	grset = git remote set-url
	grss = git restore --source
	grst = git restore --staged
	gru = git reset --
	grup = git remote update
	grv = git remote --verbose
	gsb = git status --short --branch
	gsd = git svn dcommit
	gsh = git show
	gsi = git submodule init
	gsps = git show --pretty=short --show-signature
	gsr = git svn rebase
	gss = git status --short
	gst = git status
	gsta = git stash push
	gstaa = git stash apply
	gstall = git stash --all
	gstc = git stash clear
	gstd = git stash drop
	gstl = git stash list
	gstp = git stash pop
	gsts = git stash show --patch
	gsu = git submodule update
	gsw = git switch
	gswc = git switch --create
	gswd = git switch $(git_develop_branch)
	gswm = git switch $(git_main_branch)
	gta = git tag --annotate
	gts = git tag --sign
	gtv = git tag | sort -V
	gunignore = git update-index --no-assume-unchanged
	gunwip = git rev-list --max-count=1 --format="%s" HEAD | grep -q "\--wip--" && git reset HEAD~1
	gwch = git whatchanged -p --abbrev-commit --pretty=medium
	gwip = git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign --message "--wip-- [skip ci]
	gwipe = git reset --hard && git clean --force -df
	gwt = git worktree
	gwta = git worktree add
	gwtls = git worktree list
	gwtmv = git worktree move
	gwtrm = git worktree remove

[grep]
	egrep = grep -E
	fgrep = grep -F
	grep = grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox,.venv,venv}

[ls]
	l = ls -lah
	la = ls -lAh
	ll = ls -lh
	ls = ls -G
	lsa = ls -lah

  

 

 

   
  1. ohmyzsh是个什么东西?
      1. A delightful community-driven (with 2,200+ 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.
      2. 一个令人愉快的社区驱动(拥有2200多名贡献者)框架,
      3. 安装前提条件是什么?
        1. 怎么安装?
          1. 原始安装(墙外)
          1. sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
          1. 镜像安装(墙内)
          1. sh -c "$(curl -fsSL https://install.ohmyz.sh/)"
        1. 安装过程及结果?

出现如上图所示的安装结果表明安装成功!那么该安装结果给你的系统带来了哪些变化呢?

        • 用户家目录下增加了两个内容,其中一个是.zshrc配置文件,该文件内容如下所示:
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell"

# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment one of the following lines to change the auto-update behavior
# zstyle ':omz:update' mode disabled  # disable automatic updates
# zstyle ':omz:update' mode auto      # update automatically without asking
# zstyle ':omz:update' mode reminder  # just remind me to update when it's time

# Uncomment the following line to change how often to auto-update (in days).
# zstyle ':omz:update' frequency 13

# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)

source $ZSH/oh-my-zsh.sh

# User configuration

# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
        • 另一个变化就是增加了隐藏目录.oh-my-zsh,目录具体内容如下图所示:

        1. 如何
        2. /Users/ystong/.oh-my-zsh/plugins目录里面已经内置了很多的插件,关于每个插件的功能展示可以参考官方文档。如果想要使用某个插件,只需要在.zshrc文件中的plugins下设置该插件的名字即可!!
        3. 推荐几个有用的插件
            • git:定义了很多git相关命令的别名和功能函数脚本
            • aliases:更好用的管理命令别名的工具,例如可以分组显示别名信息
            • tmux:定义了很多tmux相关命令的别名
            • z:目录之间的快速跳转
            • zsh-syntax-highlighting:命令行语法高亮(属于第三方插件,需要自己安装)
            • zsh-autosuggestions:自动补全(属于第三方插件,需要自己安装)
            • web-search:web搜索命令(属于第三方插件,需要自己安装)
            • 将插件安装在/Users/ystong/.oh-my-zsh/custom/plugins目录下
            • 在.zshrc文件中的plugins下设置该插件的名字
          1. 如何
          2. /Users/ystong/.oh-my-zsh/themes目录里面已经内置了很多的主题,关于每个主题的效果展示可以参考官方文档。如果想要使用某个主题,只需要在.zshrc文件中的ZSH_THEME下设置该主题的名字即可!!
          3. 修改完该文件,如果想要在当前Shell窗口生效,则记得使用source命令重新激活一下!!!要不然就新开启一个Shell的标签或者窗口,要不然就关闭并重新打开Shell窗口!!!In order to enable a theme, set ZSH_THEME to the name of the theme in your ~/.zshrc, before sourcing Oh My Zsh; for example: ZSH_THEME=robbyrussell If you do not want any theme enabled, just set ZSH_THEME to blank: ZSH_THEME=""(不想使用任何主题就设置ZSH_THEME=""即可)
          4. 更多内容参考官方文档:https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
              • 将主题安装在/Users/ystong/.oh-my-zsh/custom/themes目录下
              • 在.zshrc文件中的ZSH_THEME下设置该主题的名字
            1. 如何更新?如何卸载?修改完配置文件重新加载?
            • 查看更多omz命令
              • omz --help:可以查看更多的omz命令,通过这些命令也可以管理插件、主题等(通过上述的CLI命令管理则不需要重新加载.zshrc文件)
            • 更新
              • omz update
            • 卸载
              • uninstall_oh_my_zsh
            • 修改完配置文件重新加载
              • omz reload:请避免使用source命令,原因请参考官方文档
            1. 安装ohmyzsh之后还有哪些更强大的地方呢?
            • alias:列出系统所有的命令别名(alias是Shell内置命令,在没有配置其他别名的前提下就是ohmyzsh内置的所有别名,换句话说就是ohmyzsh帮我们设置好了一些别名)
              • 如果想自己定义其他的命令别名,可以在zshrc文件中进行定义
            • mkcd:创建目录并进入(由ohmyzsh创建了该命令)
            • zsh_stats:列出前20个使用频率最高的命令(由ohmyzsh创建了该命令)
            • take:功能类似于mkcd命令(可以完全替代mkcd命令),不过该命令可以识别远程URL信息(something that ends in .git or .tar.(gz|bz2|xz)),当给定的参数看起来像是一个URL的时候,该命令会下载当前资源并提取到当前目录中,然后还会自动切入到提取目录或者下载目录或者克隆目录(由ohmyzsh创建了该命令)使用举例如下图所示:

通过上图可以看出会自动下载tomcat文件并解压提取,最后还自动切换到了conf目录中。

# 该使用方式并不太常用,使用时将其认为和mkcd一样功能即可
take https://dlcdn.apache.org/tomcat/tomcat-11/v11.0.0-M14/bin/apache-tomcat-11.0.0-M14.tar.gz
            1. 我的配置文件?
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="elessar" # set by `omz`

# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment one of the following lines to change the auto-update behavior
# zstyle ':omz:update' mode disabled  # disable automatic updates
# zstyle ':omz:update' mode auto      # update automatically without asking
# zstyle ':omz:update' mode reminder  # just remind me to update when it's time

# Uncomment the following line to change how often to auto-update (in days).
# zstyle ':omz:update' frequency 13

# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git aliases tmux z zsh-syntax-highlighting web-search zsh-autosuggestions)

source $ZSH/oh-my-zsh.sh

# User configuration

# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases


# 在Terminal中指定用Sublime打开文件或者目录
alias sublime='open -a /Applications/Sublime\ Text.app'
# 在Terminal中指定用Typora打开文件或者目录
alias typora='open -a /Applications/Typora.app'
# 在Terminal中指定用Sublime打开ohmyzsh安装目录
alias ohmyzsh="sublime ~/.oh-my-zsh"
# 在Terminal中指定用Sublime打开zshrc配置文件
alias zshconfig="sublime ~/.zshrc"
# 清空Terminal显示的内容
alias c="clear"
# 修改zprofile文件重新加载生效
alias szprofile="source ~/.zprofile"
# 修改zshrc文件重新加载生效
alias szshrc="source ~/.zshrc"
# 删除文件到废纸篓
alias delete="trash -F"
# git工具修改为英文显示
alias git='LANG=en_GB git'
            1. 动手编写插件和主题?

如果ohmyzsh内置的主题和插件、以及第三方的主题和插件没有你想要的,那么我们可以自己动手编写主题和插件,ohmyzsh给我们提供了这些扩展的能力!!!详细可以参考文档:

此处为语雀内容卡片,点击链接查看:https://www.yuque.com/ystong/develop/zmm2y6c31f8bcp5t
            1. 参考文档有哪些?

 

   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
posted @ 2025-06-14 11:49  aiplus  阅读(12)  评论(0)    收藏  举报
悬浮按钮示例