From 15d37f89281237dbf8e59d952bdcb0da70dc60ac Mon Sep 17 00:00:00 2001 From: rupa Date: Wed, 31 Mar 2010 19:29:22 -0400 Subject: [PATCH] should fix issues with spaces in $HOME --- z.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z.sh b/z.sh index 7bb6781..fa9ba33 100644 --- a/z.sh +++ b/z.sh @@ -16,7 +16,7 @@ # * z -l foo # list all dirs matching foo (by frecency) z() { - local datafile=$HOME/.z + local datafile="$HOME/.z" if [ "$1" = "--add" ]; then # add shift