rice

personal dot files and scripts for linux and macOS
Log | Files | Refs | README | LICENSE

commit eb414127853cdffd4b30f2d9e48229fc2aa3cd35
parent cd6d7162c9280b54501513d2af9d2fb37382d4ff
Author: Mark Feller <mark@getsunday.com>
Date:   Thu, 16 Dec 2021 20:13:21 -0700

update pash_check and ssh config for macos

Diffstat:
Mdiff | 1-
Mdots/.local/bin/pash_check | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/diff b/diff @@ -18,7 +18,6 @@ macos() { } shared() { - dff dots/.ssh/config $HOME/.ssh/config dff -r dots/.config/aliasrc $HOME/.config/aliasrc dff -r dots/.config/emacs $HOME/.config/emacs dff -r dots/.config/git $HOME/.config/git diff --git a/dots/.local/bin/pash_check b/dots/.local/bin/pash_check @@ -15,7 +15,7 @@ sread() { [ -t 0 ] && sread pass "Enter password" || read -r pass -sha_pass=$(echo -n $pass | sha1sum | cut -d' ' -f1 | tr '[a-z]' '[A-Z]') +sha_pass=$(echo $pass | sha1sum | cut -d' ' -f1 | tr '[a-z]' '[A-Z]') sha_head=${sha_pass:0:5} sha_tail=${sha_pass:5}