dotfiles/dot_config/fish/private_functions/ansible-encrypt-to-clipboard.fish

5 lines
123 B
Fish
Raw Normal View History

2024-12-08 18:36:17 +01:00
function ansible-encrypt-to-clipboard
read -s val
ansible-vault encrypt_string -- "$val" | grep -v Encryption | pbcopy
end