From 2157a0fc5ab6a0a66904840408573de1d9a32e44 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 10 Oct 2008 17:57:54 +0200 Subject: Removed anytag function --- etc/function | 2 +- etc/functions/anytag | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 etc/functions/anytag (limited to 'etc') diff --git a/etc/function b/etc/function index 53ed3f1..78e8b1a 100644 --- a/etc/function +++ b/etc/function @@ -7,7 +7,7 @@ autoload catch throw autoload zargs # own functions -autoload anytag check_com chpwd dirinfo extr plonkhost put reload rtab salias +autoload check_com chpwd dirinfo extr plonkhost put reload rtab salias autoload world-readable xexport xsource youtube-watch colors diff --git a/etc/functions/anytag b/etc/functions/anytag deleted file mode 100644 index 7dc26a8..0000000 --- a/etc/functions/anytag +++ /dev/null @@ -1,19 +0,0 @@ -## vim:ft=zsh -## anytag - tag files based on symlinks (quick&dirty) - -typeset -T REPLY reply ' ' -typeset cmd=$1 -typeset file tag - -mkdir -p .tags -for file in *(.); do - eval $cmd - read - for tag in $reply; do - mkdir -p .tags/$tag - ( - cd .tags/$tag - ln -s ../../$file - ) - done -done -- cgit v1.2.3