-
-
Save HalanoSiblee/3535987cb76eb585b8a21d01f6ce6a6a to your computer and use it in GitHub Desktop.
[wasp script] eval age encryption commands.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| [ -z $1 ] && ls $HOME/.wasp && exit | |
| [ -f ~/.wasp/$1 ] && eval $(age -d ~/.wasp/$1) | |
| [ $1 == w ] && nvim ~/.local/bin/wasp | |
| [ $1 == example ] && echo 'echo -n "eval_secrect"| age -e -p -o secpass' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment