1
Fork 0

Add function to save ssh keys

This commit is contained in:
Hadeed 2023-08-23 04:42:42 +05:00
parent 1faf2e19f2
commit ec743ecc38

View file

@ -16,4 +16,9 @@ function serve() {
ruby -run -e httpd . -p 3000 ruby -run -e httpd . -p 3000
} }
function save-ssh-key() {
mv "$1" "$HOME/.ssh/${1}_${2}"
mv "$1.pub" "$HOME/.ssh/${1}_${2}.pub"
}
# vim: filetype=zsh # vim: filetype=zsh