fix bash completion example docs on cli (#1832)

This commit is contained in:
Simone Busoli 2019-03-28 02:58:20 +01:00 committed by Shahidh K Muhammed
parent 9630149663
commit f6c11e545d
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ const completionCmdExample = `# Bash
# open git bash
$ mkdir -p ~/.bash_completion.d
# Add the completion file:
$ cd ~ && hasura completion bash --file=bash_completion.d/hasura
$ cd ~ && hasura completion bash --file=.bash_completion.d/hasura
# Add the following to ~/.bash_profile
if [ -f ~/.bash_completion.d/hasura ]; then
. ~/.bash_completion.d/hasura

View File

@ -37,7 +37,7 @@ Examples
# open git bash
$ mkdir -p ~/.bash_completion.d
# Add the completion file:
$ cd ~ && hasura completion bash --file=bash_completion.d/hasura
$ cd ~ && hasura completion bash --file=.bash_completion.d/hasura
# Add the following to ~/.bash_profile
if [ -f ~/.bash_completion.d/hasura ]; then
. ~/.bash_completion.d/hasura