From 8cee2197d73332d51a82b5f1a67aae185964688d Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 12 Jul 2009 16:08:22 +0200 Subject: move all zshrc stuff into .zshrc and use folding nothing else changed --- .zsh/rc/70completion/10own_functions | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .zsh/rc/70completion/10own_functions (limited to '.zsh/rc/70completion/10own_functions') diff --git a/.zsh/rc/70completion/10own_functions b/.zsh/rc/70completion/10own_functions deleted file mode 100644 index fc6e446..0000000 --- a/.zsh/rc/70completion/10own_functions +++ /dev/null @@ -1,16 +0,0 @@ -# complete my little rc function (archlinux startscripts) -function _rc () { - case $CURRENT in - 2) compadd $(find /etc/rc.d/ -maxdepth 1 -type f -executable -printf '%f ');; - 3) compadd $(/etc/rc.d/$words[2] 2> /dev/null | grep -i usage | sed 's/.*{\(.*\)}/\1/; s/|/ /g');; - esac -} -compdef _rc rc - -# easier way to use sshfs ;) -function _ssh-mount () { - compadd $(cat ${HOME}/bin/ssh-mount.sh | egrep "Servers:.*" | sed "s#echo \-e \"\${green}Servers\:\$NC##g; s#\"\;##g; s#,##g") -} -compdef _ssh-mount ssh-mount.sh - -# vim: set ft=zsh: -- cgit v1.2.3-24-g4f1b