From 273b078ecc1a395f260992ec9fb08a31e8c338d9 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Wed, 10 Dec 2014 22:39:22 -0500 Subject: [PATCH] bash_completion: switch nitg and nitc Signed-off-by: Jean Privat --- misc/bash_completion/nit | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/misc/bash_completion/nit b/misc/bash_completion/nit index 6d464ec..fa48b79 100644 --- a/misc/bash_completion/nit +++ b/misc/bash_completion/nit @@ -27,10 +27,10 @@ _nit_lazy() { # and setup a new `complete` for the command eval "$($1 --bash-completion)" - # Special case for `nitc` that uses the completion of `nitg` - if test "$cmd" = "nitc"; then - cmd=nitg - complete -F _nitg -o default nitc + # Special case for `nitg` that uses the completion of `nitc` + if test "$cmd" = "nitg"; then + cmd=nitc + complete -F _nitc -o default nitg fi if [[ $(type -t _$cmd) == function ]]; then -- 1.7.9.5