Skip to content

Latest commit

 

History

History
61 lines (37 loc) · 1.32 KB

fn-push_completion.md

File metadata and controls

61 lines (37 loc) · 1.32 KB

fn-push completion

Generate completion script

Synopsis

To load completions:

Bash:

$ source <(aws completion bash)

To load completions for each session, execute once:

Linux:

$ aws completion bash > /etc/bash_completion.d/aws

macOS:

$ aws completion bash > $(brew --prefix)/etc/bash_completion.d/aws

Zsh:

If shell completion is not already enabled in your environment,

you will need to enable it. You can execute the following once:

$ echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions for each session, execute once:

$ aws completion zsh > "${fpath[1]}/_aws"

You will need to start a new shell for this setup to take effect.

fish:

$ aws completion fish | source

To load completions for each session, execute once:

$ aws completion fish > ~/.config/fish/completions/aws.fish

PowerShell:

PS> aws completion powershell | Out-String | Invoke-Expression

To load completions for every new session, run:

PS> aws completion powershell > aws.ps1

and source this file from your PowerShell profile.

fn-push completion [bash|zsh|fish|powershell]

Options

  -h, --help   help for completion

SEE ALSO

  • fn-push - A simple tool to upload serverless function assets
Auto generated by spf13/cobra on 26-Sep-2024