From 4d832b9e85bc291cb82e0675fd121799aa639e16 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 15 Jul 2016 09:19:20 +0200 Subject: zsh: Install Jira plugin --- tag-zsh/config/zsh/zshrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tag-zsh/config/zsh') diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 6cb21c9..33ebe66 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -9,6 +9,10 @@ zplug "clvv/fasd", hook-build:"PREFIX=$HOME make install" zplug "alanpearce/zsh-directory-history", at:"dirlog-as-zsh-function", as:command, use:"dirhist" zplug "alanpearce/zsh-directory-history", at:"dirlog-as-zsh-function", as:plugin zplug "caarlos0/zsh-open-pr", as:plugin +if [[ ${(SN)HOST%spotcap} ]] +then + zplug "gerges/oh-my-zsh-jira-plus", as:plugin +fi WORDCHARS=${${WORDCHARS//[-.]}//[\/]} @@ -97,6 +101,11 @@ then PURE_GIT_PULL=0 fi +if zplug check gerges/oh-my-zsh-jira-plus +then + JIRA_RAPID_BOARD=true +fi + # Then, source plugins and add commands to $PATH zplug load -- cgit 1.4.1 From a87c297556fb2367fd8e751955b92bc36371752d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 15 Jul 2016 09:32:53 +0200 Subject: zsh: Install autopair plugin --- tag-zsh/config/zsh/zshrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tag-zsh/config/zsh') diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 33ebe66..cb18bea 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -14,6 +14,8 @@ then zplug "gerges/oh-my-zsh-jira-plus", as:plugin fi +zplug "hlissner/zsh-autopair", nice:10 + WORDCHARS=${${WORDCHARS//[-.]}//[\/]} if [[ ${path[(I)$HOME/bin ]} ]] -- cgit 1.4.1 From ac1097615a7a2b427f6242443c57945df75eedf2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 15 Jul 2016 09:41:41 +0200 Subject: zsh: Install nix completions plugin --- tag-zsh/config/zsh/zshrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tag-zsh/config/zsh') diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index cb18bea..633d70d 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -9,6 +9,12 @@ zplug "clvv/fasd", hook-build:"PREFIX=$HOME make install" zplug "alanpearce/zsh-directory-history", at:"dirlog-as-zsh-function", as:command, use:"dirhist" zplug "alanpearce/zsh-directory-history", at:"dirlog-as-zsh-function", as:plugin zplug "caarlos0/zsh-open-pr", as:plugin +if [[ -n $commands[nix-env] ]] +then + zplug "spwhitt/nix-zsh-completions", as:plugin + fpath=($fpath $ZPLUG_REPOS/spwhitt/nix-zsh-completions) +fi + if [[ ${(SN)HOST%spotcap} ]] then zplug "gerges/oh-my-zsh-jira-plus", as:plugin -- cgit 1.4.1 From 9a5995c3f342052340702dcd18fab2bcba40da57 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 15 Jul 2016 09:44:29 +0200 Subject: Inline zplug conditional --- tag-zsh/config/zsh/zshrc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tag-zsh/config/zsh') diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 633d70d..2fc024c 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -15,11 +15,7 @@ then fpath=($fpath $ZPLUG_REPOS/spwhitt/nix-zsh-completions) fi -if [[ ${(SN)HOST%spotcap} ]] -then - zplug "gerges/oh-my-zsh-jira-plus", as:plugin -fi - +zplug "gerges/oh-my-zsh-jira-plus", as:plugin, if:"[[ ${(SN)HOST%spotcap} ]]" zplug "hlissner/zsh-autopair", nice:10 WORDCHARS=${${WORDCHARS//[-.]}//[\/]} -- cgit 1.4.1 From 2b2c9cf8c419be69dfa97bea4cc364ee99e9f006 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 15 Jul 2016 09:57:55 +0200 Subject: zsh: Install better npm completion --- tag-zsh/config/zsh/zshrc | 1 + 1 file changed, 1 insertion(+) (limited to 'tag-zsh/config/zsh') diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 2fc024c..9a57bcf 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -9,6 +9,7 @@ zplug "clvv/fasd", hook-build:"PREFIX=$HOME make install" zplug "alanpearce/zsh-directory-history", at:"dirlog-as-zsh-function", as:command, use:"dirhist" zplug "alanpearce/zsh-directory-history", at:"dirlog-as-zsh-function", as:plugin zplug "caarlos0/zsh-open-pr", as:plugin +zplug "lukechilds/zsh-better-npm-completion", if:"[[ -n $commands[npm] ]]" if [[ -n $commands[nix-env] ]] then zplug "spwhitt/nix-zsh-completions", as:plugin -- cgit 1.4.1