浏览代码

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