summaryrefslogtreecommitdiff
path: root/dot-oh-my-zsh/plugins/hasura/hasura.plugin.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'dot-oh-my-zsh/plugins/hasura/hasura.plugin.zsh')
m---------dot-oh-my-zsh0
-rw-r--r--dot-oh-my-zsh/plugins/hasura/hasura.plugin.zsh13
2 files changed, 0 insertions, 13 deletions
diff --git a/dot-oh-my-zsh b/dot-oh-my-zsh
new file mode 160000
+Subproject 6fe84bf5c82da7b1f6d7c5ec3e5c447721ac8ce
diff --git a/dot-oh-my-zsh/plugins/hasura/hasura.plugin.zsh b/dot-oh-my-zsh/plugins/hasura/hasura.plugin.zsh
deleted file mode 100644
index 18254c43..00000000
--- a/dot-oh-my-zsh/plugins/hasura/hasura.plugin.zsh
+++ /dev/null
@@ -1,13 +0,0 @@
-if (( ! $+commands[hasura] )); then
- return
-fi
-
-# If the completion file does not exist, generate it and then source it
-# Otherwise, source it and regenerate in the background
-if [[ ! -f "$ZSH_CACHE_DIR/completions/_hasura" ]]; then
- hasura completion zsh --file "$ZSH_CACHE_DIR/completions/_hasura" >/dev/null
- source "$ZSH_CACHE_DIR/completions/_hasura"
-else
- source "$ZSH_CACHE_DIR/completions/_hasura"
- hasura completion zsh --file "$ZSH_CACHE_DIR/completions/_hasura" >/dev/null &|
-fi