diff --git a/home/.chezmoidata.yaml b/home/.chezmoidata.yaml index c318c1ad..4cc912b0 100644 --- a/home/.chezmoidata.yaml +++ b/home/.chezmoidata.yaml @@ -1733,7 +1733,7 @@ softwarePlugins: - github/gh-net - mislav/gh-cp intellij-idea-ce: - cmd: bash -c 'if ! cat "${XDG_CACHE_HOME:-$HOME/.cache}/install.doctor/intellij-idea-ce" | grep "${PLUGIN}" &> /dev/null; thenidea.sh installPlugins "{PLUGIN}" && mkdir -p "${XDG_CACHE_HOME:-$HOME/.cache}/install.doctor" && echo "{PLUGIN}" >> "${XDG_CACHE_HOME:-$HOME/.cache}/install.doctor/intellij-idea-ce"; fi' + cmd: bash -c 'if [ ! -f "${XDG_CACHE_HOME:-$HOME/.cache}/install.doctor/intellij-idea-ce" ] || ! cat "${XDG_CACHE_HOME:-$HOME/.cache}/install.doctor/intellij-idea-ce" | grep "${PLUGIN}" &> /dev/null; then idea.sh installPlugins "{PLUGIN}" && mkdir -p "${XDG_CACHE_HOME:-$HOME/.cache}/install.doctor" && echo "{PLUGIN}" >> "${XDG_CACHE_HOME:-$HOME/.cache}/install.doctor/intellij-idea-ce"; fi' plugins: - AngularJS - app.pieces.plugins.jetbrains