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