#!/bin/bash paste -d, <(ssh-add -L) <(ssh-add -l) | \ fzf --cycle --preview 'echo {} | cut -d, -f1' \ --preview-window down:wrap --delimiter , \ --with-nth 2 --header='[ssh-agent:remove]' | \ cut -d, -f1 | ssh-add -d -