Code consistency improvements

Signed-off-by: Vangelis Tasoulas <vangelis@tasoulas.net>
pull/1179/head
Vangelis Tasoulas 2018-04-19 18:54:29 +02:00
parent 039a677bd8
commit fd01635e4a
No known key found for this signature in database
GPG Key ID: 15423A57A998DA61
1 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
_terraform() {
_terraform()
{
local cur prev words cword opts
_get_comp_words_by_ref -n : cur prev words cword
COMPREPLY=()
@ -55,7 +56,7 @@ _terraform() {
if [[ ${COMPREPLY[0]} == *= ]] ; then
# When only one completion is left, check if there is an equal sign.
# If an equal sign, then add no space after the autocompleted word.
compopt -o nospace;
compopt -o nospace
fi
fi
return 0