Skip to content

Commit a12825c

Browse files
committed
changes to add zsh-completion to ohmyzsh plugins
1 parent 46506d3 commit a12825c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.chezmoiexternal.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ exact = true
2626
stripComponents = 1
2727
refreshPeriod = "168h"
2828

29+
[".oh-my-zsh/custom/plugins/zsh-completions"]
30+
type = "archive"
31+
url = "https://github.com/zsh-users/zsh-completions/archive/refs/heads/master.zip"
32+
exact = true
33+
stripComponents = 1
34+
refreshPeriod = "168h"
35+
2936
# tmux plugins
3037
[".config/tmux/plugins/tmux-sensible"]
3138
type = "archive"

executable_dot_zshrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ ZSH_THEME="gnzh"
7575
# Add wisely, as too many plugins slow down shell startup.
7676
plugins=(git zsh-syntax-highlighting zsh-autosuggestions themes direnv vi-mode)
7777

78+
fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src
79+
7880
source $ZSH/oh-my-zsh.sh
7981

8082
# User configuration

0 commit comments

Comments
 (0)