Set umask, update aliases, and convert some to binds

This commit is contained in:
mitchell 2021-12-13 00:16:38 -05:00
parent 517bc5f587
commit 662cf1bcdc
7 changed files with 55 additions and 28 deletions

View file

@ -0,0 +1,14 @@
function ssh_add -d 'Shortcut for adding keys to ssh agent'
read --prompt-str='e/r/s? ' args
argparse --max-args 1 's/seedly' 'r/rsa' -- $args
switch $args
case s seedly
ssh-add ~/.secrets/seedly_ed25519
case r rsa
ssh-add ~/.secrets/id_rsa
case '*'
ssh-add ~/.secrets/id_ed25519
end
end