mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-13 03:12:21 +01:00
Just autocomplete with files all the time
This commit is contained in:
parent
55345d6648
commit
3d805787d0
1 changed files with 2 additions and 8 deletions
|
|
@ -32,14 +32,8 @@ case $state in
|
|||
"bamshuf[shuffle and group alignments by name]"
|
||||
ret=0
|
||||
;;
|
||||
args)
|
||||
case $line[1] in
|
||||
view|tview)
|
||||
_files=(`find . -name \*.sam -o -name \*.bam | grep '\./[^/]*am' | sed 's/\.\///'`)
|
||||
[[ -n "$_files" ]] && _values 'configs' $_files
|
||||
ret=0
|
||||
;;
|
||||
esac
|
||||
*)
|
||||
_files
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue