bashrc: add quick key lookup function for some reason gpg is broken and fails to retrieve keys from the keyserver, so i need to import it manually. maybe i should add keyserver option to this function later.
la-ninpre leobrekalini@gmail.com
Mon, 25 Jan 2021 13:44:23 +0300
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
.bashrc
→
.bashrc
@@ -31,6 +31,10 @@ source /usr/share/fzf/completion.bash
export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git' export FZF_CTRL_T_COMMAND='$FZF_DEFAULT_COMMAND' +keylookup() { + curl "http://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0x$1" +} + # ripped off from nixcasts' .bashrc pacs() { sudo pacman -Syy $(pacman -Ssq | fzf -m --preview="pacman -Si {}" \