summaryrefslogtreecommitdiff
path: root/etc/functions/xhashd
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-11-22 12:52:49 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-11-22 12:52:49 +0100
commit06c5e2becdfd9293aa8d90d3e517ef1f03ac653c (patch)
tree48e649e75fca3b2666c8cb92650aa10a0b9b8cbb /etc/functions/xhashd
parent9fc91f8ca80c4dd8b109350d01e4a26993dcb71e (diff)
make the zshrc work without packages/zsh/etc
Diffstat (limited to 'etc/functions/xhashd')
-rw-r--r--etc/functions/xhashd7
1 files changed, 0 insertions, 7 deletions
diff --git a/etc/functions/xhashd b/etc/functions/xhashd
deleted file mode 100644
index 2909ea7..0000000
--- a/etc/functions/xhashd
+++ /dev/null
@@ -1,7 +0,0 @@
-## vim:ft=zsh
-## hash a directory if it exists
-typeset directory=${~1#*\=} name=${1%%\=*}
-
-if [[ -d $directory ]] {
- hash -d $name=$directory
-}