diff options
author | justanothercatgirl <sotov2070@gmail.com> | 2023-12-17 13:59:21 +0300 |
---|---|---|
committer | justanothercatgirl <sotov2070@gmail.com> | 2023-12-17 13:59:21 +0300 |
commit | 340bd3893f90cefa9d6c2f60364008cf7ca1c53c (patch) | |
tree | 64c63b7ea1cfa1a298980d1b0c961e35feb10d31 /.local | |
parent | bd7d56290d0a8cf8e3b1d5f3cb272df62025866a (diff) |
added useful things
treesitter: nvim
ghauth: 2fa
.bashrc: some exports
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/ghauth | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/ghauth b/.local/bin/ghauth new file mode 100755 index 0000000..15f39a1 --- /dev/null +++ b/.local/bin/ghauth @@ -0,0 +1,8 @@ +#/bin/bash + +[[ "x${TERMUX_VERSION}" == "x" ]] && PIPE_CMD='xclip -selection clipboard' || PIPE_CMD='cat -' + +gpg --pinentry-mode loopback --decrypt --quiet "${HOME}/.2fa/justanothercatgirl@github.com/.key" | oathtool --totp -b - | ${PIPE_CMD} + + + |