From 30e517a40cac7c104dec8eb2ce291ae7331509a1 Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Sat, 21 Dec 2019 21:19:24 +0200 Subject: [PATCH] [zsh] update links to Oh My Zsh --- zsh/completion.zsh | 2 +- zsh/functions.zsh | 4 ++-- zsh/plugins.zsh | 6 +++--- zsh/zplg.zsh | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/zsh/completion.zsh b/zsh/completion.zsh index 03c1401..439f4e8 100644 --- a/zsh/completion.zsh +++ b/zsh/completion.zsh @@ -1,5 +1,5 @@ # http://zsh.sourceforge.net/Doc/Release/Completion-System.html -# https://github.com/robbyrussell/oh-my-zsh/blob/master/lib/completion.zsh +# https://github.com/ohmyzsh/ohmyzsh/blob/master/lib/completion.zsh # load fancier completion menu which (most notably) supports `list-colors` zmodload zsh/complist diff --git a/zsh/functions.zsh b/zsh/functions.zsh index 8d5f809..5955fe9 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -62,8 +62,8 @@ fi eval "clipcopy(){$copy_cmd;};clippaste(){$paste_cmd;}" unset copy_cmd paste_cmd -# for compatibility with Oh-My-Zsh plugins -# Source: https://github.com/robbyrussell/oh-my-zsh/blob/5911aea46c71a2bcc6e7c92e5bebebf77b962233/lib/git.zsh#L58-L71 +# for compatibility with Oh My Zsh plugins +# Source: https://github.com/ohmyzsh/ohmyzsh/blob/5911aea46c71a2bcc6e7c92e5bebebf77b962233/lib/git.zsh#L58-L71 git_current_branch() { if [[ "$(command git rev-parse --is-inside-work-tree)" != true ]]; then return 1 diff --git a/zsh/plugins.zsh b/zsh/plugins.zsh index 069b173..340d378 100644 --- a/zsh/plugins.zsh +++ b/zsh/plugins.zsh @@ -17,7 +17,7 @@ _plugin completions 'zsh-users/zsh-completions' # compinit {{{ # note that completion system must be initialized after zsh-completions and - # before oh-my-zsh + # before Oh My Zsh autoload -U compinit run_compdump=1 @@ -44,12 +44,12 @@ _plugin completions 'zsh-users/zsh-completions' unset run_compdump # }}} -# Oh-My-Zsh {{{ +# Oh My Zsh {{{ omz_features=(key-bindings termsupport) omz_plugins=(git extract fasd) - _plugin oh-my-zsh 'robbyrussell/oh-my-zsh' \ + _plugin ohmyzsh 'ohmyzsh/ohmyzsh' \ load='lib/'${^omz_features}'.zsh' \ load='plugins/'${^omz_plugins}'/*.plugin.zsh' \ before_load='ZSH="$plugin_dir"' \ diff --git a/zsh/zplg.zsh b/zsh/zplg.zsh index 73b343e..edc668f 100644 --- a/zsh/zplg.zsh +++ b/zsh/zplg.zsh @@ -293,8 +293,8 @@ plugin() { if (( ${#plugin_load} == 0 )); then # default loading patterns: - # - *.plugin.zsh for most plugins and Oh-My-Zsh ones - # - *.zsh-theme for most themes and Oh-My-Zsh ones + # - *.plugin.zsh for most plugins and Oh My Zsh ones + # - *.zsh-theme for most themes and Oh My Zsh ones # - init.zsh for Prezto plugins # ([1]) means "expand only to the first match" plugin_load=("(*.plugin.zsh|*.zsh-theme|init.zsh)([1])")