From f43ec09432bdbbe0bb990df9417f22f2102de2ef Mon Sep 17 00:00:00 2001 From: stephen Date: Tue, 19 Sep 2023 10:14:15 -0400 Subject: [PATCH] Restart --- nostril.plugin.zsh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 nostril.plugin.zsh diff --git a/nostril.plugin.zsh b/nostril.plugin.zsh new file mode 100644 index 0000000..fd46bd1 --- /dev/null +++ b/nostril.plugin.zsh @@ -0,0 +1,18 @@ +_nostril_autocomplete() { + _arguments \ + '--content[Specify content]:string' \ + '--dm[Specify hex pubkey]:' \ + '--envelope[Enable envelope flag]' \ + '--kind[Specify number]:' \ + '--created-at[Specify Unix timestamp]:' \ + '--sec[Specify hex seckey]:' \ + '--pow[Specify difficulty]:' \ + '--mine-pubkey[Enable mine-pubkey flag]' \ + '--tag[Specify key]:[Specify value]' \ + '-e[Specify event_id]:' \ + '-p[Specify pubkey]:' \ + '-t[Specify hashtag]:' +} + +# Register the autocompletion function +compdef _nostril_autocomplete nostril