summaryrefslogtreecommitdiff
path: root/etc/completions/_hashl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-01-08 11:36:35 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-01-08 11:36:35 +0100
commiteb01006573571b8e5fcc7cb7fe9e80acc11a4399 (patch)
tree021455b52d702e82e1b52f7e402b65b0d4940dec /etc/completions/_hashl
parentfa77754423340aec0bebbed729448c18aa457075 (diff)
_hashl: Use new list-files command
Diffstat (limited to 'etc/completions/_hashl')
-rw-r--r--etc/completions/_hashl4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/completions/_hashl b/etc/completions/_hashl
index 3aa1d1e..ede2cbd 100644
--- a/etc/completions/_hashl
+++ b/etc/completions/_hashl
@@ -15,10 +15,10 @@ function _hashl_db_file {
typeset IFS=$'\n'
if [[ ${index} != 0 && -r ${dbfile} ]] {
_wanted file expl 'file' \
- compadd $(hashl -d ${dbfile} list | grep -v '^#' | cut -d ' ' -f 2-)
+ compadd $(hashl -d ${dbfile} list-files)
} else {
_wanted file expl 'file' \
- compadd $(hashl list | grep -v '^#' | cut -d ' ' -f 2-)
+ compadd $(hashl list-files)
}
}