Sfoglia il codice sorgente

feat: add ssh-agent to bashrc

Douglas A 2 anni fa
parent
commit
5880b6d3f3
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      bash/bashrc

+ 3 - 0
bash/bashrc

@@ -36,3 +36,6 @@ export PATH=$PATH:/home/cmte/bin
 export NVM_DIR="$HOME/.nvm"
 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
 [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
+
+eval $(ssh-agent)
+ssh-add $HOME/.ssh/github