summaryrefslogtreecommitdiff
path: root/etc/completions/_hashl
diff options
context:
space:
mode:
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)
}
}