Browse Source

Add .functions

master
Joe Taber 4 weeks ago
parent
commit
44dd4e3f8e
  1. 2
      .exports
  2. 13
      .functions
  3. 1
      .gitignore

2
.exports

@ -0,0 +1,2 @@
export EDITOR="vim"

13
.functions

@ -0,0 +1,13 @@
#!/usr/bin/env bash
function ssh_setup {
mkdir -p ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/config
chmod 600 ~/.ssh/config
}
function ssh_key {
ssh-keygen -t ed25519 -C "${1?"Usage: $0 EMAIL"}"
}

1
.gitignore

@ -4,5 +4,6 @@
!.gitignore
!.aliases
!.exports
!.functions
!.bashrc
Loading…
Cancel
Save