summary refs log tree commit diff stats
path: root/tag-zsh/config
diff options
context:
space:
mode:
authorAlan Pearce2016-07-15 09:44:29 +0200
committerAlan Pearce2016-07-15 09:44:29 +0200
commit9a5995c3f342052340702dcd18fab2bcba40da57 (patch)
treeca62abc947e3d88506368d9ef1f02d556afa7e94 /tag-zsh/config
parentac1097615a7a2b427f6242443c57945df75eedf2 (diff)
downloadnixfiles-9a5995c3f342052340702dcd18fab2bcba40da57.tar.lz
nixfiles-9a5995c3f342052340702dcd18fab2bcba40da57.tar.zst
nixfiles-9a5995c3f342052340702dcd18fab2bcba40da57.zip
Inline zplug conditional
Diffstat (limited to 'tag-zsh/config')
-rw-r--r--tag-zsh/config/zsh/zshrc6
1 files changed, 1 insertions, 5 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 633d70d7..2fc024c7 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//[-.]}//[\/]}