summaryrefslogtreecommitdiff
path: root/etc/functions/anytag
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-10-10 17:57:54 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-10-10 17:57:54 +0200
commit2157a0fc5ab6a0a66904840408573de1d9a32e44 (patch)
tree63cb6575599cd9ba2e001a99602fc984476d38f4 /etc/functions/anytag
parentb53ff1df522b001e621f170e0b0f2cfae558404f (diff)
Removed anytag function
Diffstat (limited to 'etc/functions/anytag')
-rw-r--r--etc/functions/anytag19
1 files changed, 0 insertions, 19 deletions
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