From 59a96007d3e416678efeeb4aeb465f9d38c410c3 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sun, 14 Jan 2024 00:35:37 +0100 Subject: Enforce signature for extensions --- extra/crypt.zsh | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100755 extra/crypt.zsh (limited to 'extra/crypt.zsh') diff --git a/extra/crypt.zsh b/extra/crypt.zsh deleted file mode 100755 index 3055baf..0000000 --- a/extra/crypt.zsh +++ /dev/null @@ -1,13 +0,0 @@ -#compdef crypt -#autoload - -# copy to /usr/share/zsh/site-functions/_crypt - -_crypt() { - local IFS=$'\n' - local location - zstyle -s ":completion:${curcontext}:" location location || location="${CRYPT_PATH:-$HOME/.crypt}" - _values -C 'entries' ${$(crypt list --plain 2>/dev/null | sed -e "s#\([^[:space:]]*\)[[:space:]]*\(.*\)#\1\[\2\]#g" | sort):-""} -} - -_crypt -- cgit v1.2.3