Skip to content

Commit

Permalink
Merge pull request #373 from rhaschke/fix-bash-completion
Browse files Browse the repository at this point in the history
fix bash completion
  • Loading branch information
jbohren committed May 14, 2016
2 parents 08b18db + db0e67e commit 281d79c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions completion/catkin_tools-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,6 @@ _catkin()
;;
esac

IFS="$OLDIFS"
if [[ ${#COMPREPLY[*]} -eq 1 ]]; then #Only one completion
COMPREPLY=( ${COMPREPLY[0]%% - *} ) #Remove ' - ' and everything after
fi

return 0
}

Expand Down

0 comments on commit 281d79c

Please sign in to comment.