From eb01006573571b8e5fcc7cb7fe9e80acc11a4399 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 8 Jan 2011 11:36:35 +0100 Subject: _hashl: Use new list-files command --- etc/completions/_hashl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/completions') 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) } } -- cgit v1.2.3