mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
fix bash completion example docs on cli (#1832)
This commit is contained in:
parent
9630149663
commit
f6c11e545d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user