Browse Source

Fixed docs and patched bug in bash profile

pull/6/head
aewens 1 year ago
parent
commit
9ec6561df2
  1. 2
      .bash_profile
  2. 1
      .gitignore
  3. 4
      README.md

2
.bash_profile

@ -16,7 +16,7 @@ PATH="$HOME/bin:$HOME/.local/bin:$PATH"
[[ $- != *i* ]] && return
if [[ -z "$TMUX" ]] ; then
tmux has-session &> /dev/null
tmux has-session -t "one" &> /dev/null
if [ $? -eq 1 ]; then
exec tmux new-session -s "one"
exit

1
.gitignore

@ -0,0 +1 @@
.ssh/known_hosts

4
README.md

@ -15,12 +15,12 @@ $ ssh-keygen -t ed25519
1. Add your public key to the authorized_keys file:
```bash
$ cat ~/.ssh/id_ed25519.pub >> authorized_keys
$ cat ~/.ssh/id_ed25519.pub >> .ssh/authorized_keys
```
1. Add, commit, and push your changes:
```bash
$ git add authorized_keys
$ git add .ssh/authorized_keys
$ git commit -m "Added SSH keys for <your name>"
$ git push origin master
```

Loading…
Cancel
Save