diff --git a/README.md b/README.md index 218e44d..fa661c3 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,35 @@ Options: License is invalid after this date. ``` +### Shell Completion + +
+Bash +Add this to ~/.bashrc: + +```shell +eval "$(_PYENCRYPT_COMPLETE=bash_source pyencrypt)" +``` +
+ +
+Zsh +Add this to ~/.zshrc: + +```shell +eval "$(_PYENCRYPT_COMPLETE=zsh_source pyencrypt)" +``` +
+ +
+Fish +Add this to ~/.config/fish/completions/foo-bar.fish: + +```shell +eval (env _PYENCRYPT_COMPLETE=fish_source pyencrypt) +``` +
+ ## Example ### Encrypt