[更新] 更新zsh配置
This commit is contained in:
parent
5b30214eb4
commit
9ea3fa2c02
BIN
.安装.zsh.swp
BIN
.安装.zsh.swp
Binary file not shown.
34
配置/zshrc
34
配置/zshrc
@ -1,6 +1,15 @@
|
|||||||
export ZSH=/etc/oh-my-zsh
|
# 加载基础变量
|
||||||
# 添加环境变量
|
配置路径=$HOME/.config/xunmi
|
||||||
# export PATH=$HOME/bin:/usr/local/bin:$HOME/.local/bin:$PATH
|
source ${配置路径}/PATH.sh
|
||||||
|
export ZSH=${寻觅}/oh-my-zsh
|
||||||
|
|
||||||
|
# 加载各种开发环境
|
||||||
|
for 开发环境 in "${配置路径}"/开发环境/*.zsh; do
|
||||||
|
source "$开发环境"
|
||||||
|
done
|
||||||
|
|
||||||
|
# 添加环境变量(python很喜欢将一些可执行文件放在这个位置)
|
||||||
|
export PATH=/usr/local/bin:$HOME/.local/bin:$PATH
|
||||||
|
|
||||||
# zsh 主题,在线预览 https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
# zsh 主题,在线预览 https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||||
# 推荐主题: gnzh、jispwoso[双行: 1 用户名-目录-Git]
|
# 推荐主题: gnzh、jispwoso[双行: 1 用户名-目录-Git]
|
||||||
@ -53,14 +62,23 @@ HIST_STAMPS="yyyy-mm-dd"
|
|||||||
# 标准插件可以在 `$ZSH/plugins/` 中找到
|
# 标准插件可以在 `$ZSH/plugins/` 中找到
|
||||||
# 自定义插件可以添加到 `$ZSH_CUSTOM/plugins/`
|
# 自定义插件可以添加到 `$ZSH_CUSTOM/plugins/`
|
||||||
# 注意: 太多的插件会降低 shell 启动的速度。
|
# 注意: 太多的插件会降低 shell 启动的速度。
|
||||||
# command-not-found当前仅支持debian系
|
# 官方插件及其功能说明可以查看: https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins
|
||||||
# 支持fzf可以尝试使用zsh-interactive-cd,cd目录时可以模糊查找
|
|
||||||
# znt zsh官方出的导航工具:https://github.com/z-shell/zsh-navigation-tools
|
|
||||||
# 官方插件及其功能说明可以查看:https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins
|
|
||||||
plugins=(
|
plugins=(
|
||||||
git
|
# 强大的目录自动跳转命令, 会记忆你曾经进入过的目录, 用模糊匹配快速进入你想要的目录
|
||||||
|
# 使用方法: z 路径名
|
||||||
|
z
|
||||||
|
# git别名插件
|
||||||
|
git
|
||||||
|
# 双击exc添加sudo
|
||||||
sudo
|
sudo
|
||||||
|
# 快速解压工具
|
||||||
|
# 使用方法: x 压缩包
|
||||||
|
extract
|
||||||
|
# command-not-found当前仅支持debian系
|
||||||
|
#command-not-found
|
||||||
|
# 支持fzf可以尝试使用zsh-interactive-cd,cd目录时可以模糊查找
|
||||||
#zsh-interactive-cd
|
#zsh-interactive-cd
|
||||||
|
# znt zsh官方出的导航工具: https://github.com/z-shell/zsh-navigation-tools
|
||||||
zsh-navigation-tools
|
zsh-navigation-tools
|
||||||
zsh-autosuggestions
|
zsh-autosuggestions
|
||||||
zsh-syntax-highlighting
|
zsh-syntax-highlighting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user