Just autocomplete with files all the time

This commit is contained in:
Rolf Schroeder 2015-02-12 08:47:05 +01:00
parent 55345d6648
commit 3d805787d0

View File

@ -32,14 +32,8 @@ case $state in
"bamshuf[shuffle and group alignments by name]" "bamshuf[shuffle and group alignments by name]"
ret=0 ret=0
;; ;;
args) *)
case $line[1] in _files
view|tview)
_files=(`find . -name \*.sam -o -name \*.bam | grep '\./[^/]*am' | sed 's/\.\///'`)
[[ -n "$_files" ]] && _values 'configs' $_files
ret=0
;;
esac
;; ;;
esac esac