Fixed docs and patched bug in bash profile
This commit is contained in:
parent
7f931ee393
commit
9ec6561df2
@ -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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.ssh/known_hosts
|
@ -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…
Reference in New Issue
Block a user