diff --git a/dot_config/fish/private_functions/ansible-encrypt-to-clipboard.fish b/dot_config/fish/private_functions/ansible-encrypt-to-clipboard.fish new file mode 100644 index 0000000..4d9dd2a --- /dev/null +++ b/dot_config/fish/private_functions/ansible-encrypt-to-clipboard.fish @@ -0,0 +1,4 @@ +function ansible-encrypt-to-clipboard +read -s val +ansible-vault encrypt_string -- "$val" | grep -v Encryption | pbcopy +end