Skip to content

Instantly share code, notes, and snippets.

@HalanoSiblee
Created December 3, 2025 23:52
Show Gist options
  • Select an option

  • Save HalanoSiblee/3535987cb76eb585b8a21d01f6ce6a6a to your computer and use it in GitHub Desktop.

Select an option

Save HalanoSiblee/3535987cb76eb585b8a21d01f6ce6a6a to your computer and use it in GitHub Desktop.
[wasp script] eval age encryption commands.
#!/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