Fixed docs and patched bug in bash profile

This commit is contained in:
aewens 2020-03-30 09:10:46 -06:00
parent 7f931ee393
commit 9ec6561df2
3 changed files with 4 additions and 3 deletions

View File

@ -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 vendored Normal file
View File

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

View File

@ -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
```