]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
zsh/rc: add completion for my wrapper scripts
authorSimon Ruderich <simon@ruderich.org>
Sun, 16 Mar 2014 14:54:22 +0000 (15:54 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 16 Mar 2014 14:59:56 +0000 (15:59 +0100)
zsh/rc

diff --git a/zsh/rc b/zsh/rc
index 908896121d042ad4f7123c04a9367b7a9c48ae1a..ece0a2d67bacbf5fcbaa254578c8dfc9de4fa2ae 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -734,6 +734,12 @@ zle -C complete-files complete-word _generic
 zstyle ':completion:complete-files:*' completer _files
 bindkey '^F' complete-files
 
+# Completion for my wrapper scripts
+compdef slocate=locate
+compdef srsync=rsync
+compdef srsync-incremental=rsync
+compdef svalgrind=valgrind
+
 
 # CUSTOM ALIASES AND FUNCTIONS