ADD alias for ssh key generation

This commit is contained in:
Nathan Dwarshuis 2022-08-09 17:43:16 -04:00
parent 7ee78c238e
commit 460ed423f2
1 changed files with 13 additions and 0 deletions

View File

@ -335,6 +335,19 @@ alias_if chezmoi \
cza="chezmoi add" \
czc="chezmoi cd"
## --------------------------------------------------
## User functions
## --------------------------------------------------
if exists ssh-keygen; then
function skg () {
ssh-keygen -C "$(whoami)@$(uname -n)-$(date -I)" \
-t ed25519 \
-N '' \
-f "$1"
}
fi
## --------------------------------------------------
## Manly Colors
## --------------------------------------------------