Skip to content

Commit

Permalink
Merge branch 'master' into ordered_args
Browse files Browse the repository at this point in the history
  • Loading branch information
rupa committed Jun 27, 2014
2 parents 0f559cd + 56027bf commit 4fab378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion z.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ _z() {
fi

# tab completion
elif [ "$1" = "--complete" ]; then
elif [ "$1" = "--complete" -a -s "$datafile" ]; then
while read line; do
[ -d "${line%%\|*}" ] && echo $line
done < "$datafile" | awk -v q="$2" -F"|" '
Expand Down

0 comments on commit 4fab378

Please sign in to comment.