Skip to content

Commit

Permalink
Merge pull request #70 from HECBioSim/issue68
Browse files Browse the repository at this point in the history
Issue #68
  • Loading branch information
jimboid committed Aug 29, 2017
2 parents f28af0c + 5274789 commit ad52ec4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,13 @@
BASHFILE.write(' opts="--about --debug --disconnect --examples --help '
'--hosts --job --jobname --log --nochecks --recover '
'--resource --replicates --verbose --version"\n\n')
BASHFILE.write(' if [[ ${cur} == -* ]] ; then\n')
BASHFILE.write(' if [[ ${cur} == -* ]]; then\n')
BASHFILE.write(' COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )\n')
BASHFILE.write(' return 0\n')
BASHFILE.write(' elif [[ ${prev} == --hosts ]] || '
'[[ ${prev} == --job ]] || [[ ${prev} == --recover ]]; '
'then\n')
BASHFILE.write(' _filedir\n')
BASHFILE.write(' fi\n')
BASHFILE.write('}\n')
BASHFILE.write('complete -F _longbow longbow\n')
Expand Down

0 comments on commit ad52ec4

Please sign in to comment.