From 6c37b01bcb98c436f052451f2c16979a5298f1db Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 14 Mar 2016 12:19:35 +0100 Subject: [PATCH] Add completion for my send-pkg utility --- zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index 2179ab2..1c3b612 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -162,3 +162,6 @@ compinit colors # Initialize colors. cdpath=($HOME/projects $HOME/projects/work/photension) + +# Add filename completion for send-pkg, any file ending in .pkg.tar.xz +compdef '_files -g "*.pkg.tar.xz"' send-pkg