Permalink
Browse files

fix bash tab completion.

  • Loading branch information...
1 parent f8a7cb0 commit 4a0f3f82800c5310ad6957d972d7b6ae857fe737 @rupa committed Feb 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 z.sh
View
2 z.sh
@@ -69,7 +69,7 @@ _z() {
# tab completion
elif [ "$1" = "--complete" ]; then
- awk -v q="$2" -F"|" '
+ awk -v q="$2" -v datafile="$datafile" -F"|" '
function notdir(path, tmp) {
# faster than system()
n = gsub("/+", "/", path)

0 comments on commit 4a0f3f8

Please sign in to comment.