Changeset 402 for trunk/klask.bash_completion
- Timestamp:
- Oct 2, 2018, 2:31:09 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask.bash_completion
r381 r402 37 37 COMPREPLY=($(compgen -W "$(klask help|grep "^ klask ${COMP_WORDS[1]}" | sed -e 's/[\[]/\n/g;'|grep -- '^-'|cut -f 1 -d ']'|cut -f 1 -d ' '|sed -e 's/|/ /g;'|xargs echo -n)" -- "$cur")) 38 38 else 39 COMPREPLY=($(compgen -W "$($(which klask || echo /usr/ sbin/klask) help|grep '^ klask'|awk '{print $2}'|xargs echo -n)" -- "$cur"))39 COMPREPLY=($(compgen -W "$($(which klask || echo /usr/bin/klask) help|grep '^ klask'|awk '{print $2}'|xargs echo -n)" -- "$cur")) 40 40 fi 41 41
Note: See TracChangeset
for help on using the changeset viewer.