all repos — nixfiles @ 9a5995c3f342052340702dcd18fab2bcba40da57

System and user configuration, managed by nix and home-manager

Inline zplug conditional
Alan Pearce alan.pearce@spotcap.com
Fri, 15 Jul 2016 09:44:29 +0200
commit

9a5995c3f342052340702dcd18fab2bcba40da57

parent

ac1097615a7a2b427f6242443c57945df75eedf2

1 files changed, 1 insertions(+), 5 deletions(-)

jump to
M tag-zsh/config/zsh/zshrctag-zsh/config/zsh/zshrc
@@ -15,11 +15,7 @@ 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
-fi
-
+zplug "gerges/oh-my-zsh-jira-plus", as:plugin, if:"[[ ${(SN)HOST%spotcap} ]]"
 zplug "hlissner/zsh-autopair", nice:10
 
 WORDCHARS=${${WORDCHARS//[-.]}//[\/]}