U.S. Senate Vote in Favor of Amendment That Threatens Crypto Industry
decrypt.co144 pointsby creese159 comments
pass ()
{
if [ $# -eq 0 ] || ( [ $# -eq 1 ] && [ $1 = "-c" ] ); then
find ~/.password-store -name '\*.gpg' -printf '%P\n' | sed -e 's:.gpg$::gi' | fzf | xargs /usr/local/bin/pass $@;
else
/usr/local/bin/pass $@;
fi
}
pass + fzf + bash > gopass. DOTADIW. (defun cargo-process-check-sentinel (process event)
(when (string= "finished\n" event)
(rust-format-buffer)))
(defun my-after-save-hook ()
(when (eq major-mode 'rust-mode)
(set-process-sentinel (cargo-process-check) 'cargo-process-check-sentinel)))
(add-hook 'after-save-hook #'my-after-save-hook)