aboutsummaryrefslogtreecommitdiffstats
path: root/.local/bin/keylookup
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2021-05-26 18:44:54 +0300
committerla-ninpre <leobrekalini@gmail.com>2021-05-26 18:44:54 +0300
commit8a3972f856e13561dddf8db30f0af69a20087743 (patch)
tree92249c488fea85f54de47f318098328704456906 /.local/bin/keylookup
parentfd9c7318a79da6471c5f6eb8b5f3c8215f0c957a (diff)
downloaddotfiles-8a3972f856e13561dddf8db30f0af69a20087743.tar.gz
dotfiles-8a3972f856e13561dddf8db30f0af69a20087743.zip
bashrc: fix issues and push scripts to separate files
for some weird reasons they were included in bashrc as functions
Diffstat (limited to '.local/bin/keylookup')
-rwxr-xr-x.local/bin/keylookup8
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/keylookup b/.local/bin/keylookup
new file mode 100755
index 0000000..90e3a45
--- /dev/null
+++ b/.local/bin/keylookup
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+main() {
+ curl "http://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0x$1"
+}
+
+main "$@"
+