1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

Updated readme

This commit is contained in:
Mike Farah
2020-06-12 09:30:05 +10:00
parent b0fa0e5b86
commit d9ae8e1e5a
2 changed files with 14 additions and 12 deletions

View File

@@ -16,13 +16,13 @@ func createBashCompletionCmd(rootCmd *cobra.Command) *cobra.Command {
Long: `To load completion for:
bash:
Run
. <(yq bash-completion)
. <(yq shell-completion)
To configure your bash shell to load completions for each session add to
your bashrc
# ~/.bashrc or ~/.profile
. <(yq bash-completion)
. <(yq shell-completion)
zsh:
The generated completion script should be put somewhere in your $fpath named _yq