Changeset 411 for trunk/project-meta/project-meta.bash_completion
- Timestamp:
- Sep 5, 2019, 11:07:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/project-meta/project-meta.bash_completion
r185 r411 9 9 prev="${COMP_WORDS[COMP_CWORD-1]}" 10 10 11 case $prev in 12 -d|--dataset) 13 local showlist=$(project-meta dataset-list|awk '{print $1}') 14 COMPREPLY=($(compgen -W "${showlist}" -- "$cur")) 15 return 0 16 ;; 17 18 help) 19 local showlist=$(project-meta help|grep '^ project-meta'|awk '{print $2}') 20 COMPREPLY=($(compgen -W "${showlist}" -- "$cur")) 21 return 0 22 ;; 23 esac 24 11 25 if [[ "$cur" == '-*' || $COMP_CWORD -gt 1 ]] 12 26 then
Note: See TracChangeset
for help on using the changeset viewer.