瀏覽代碼

Call ssh-add in bashrc

Alois Mahdal 10 年之前
父節點
當前提交
a30731d4cd
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      dotfiles/bash/main.bashrc

+ 2
- 0
dotfiles/bash/main.bashrc 查看文件

@@ -63,3 +63,5 @@ export GVFS_DISABLE_FUSE=1
63 63
 
64 64
 # get rid of those .pyc files once and for all
65 65
 export PYTHONDONTWRITEBYTECODE=1
66
+
67
+ssh-add -l >& /dev/null || ssh-add