.profile.common

changeset 608
177dfb2889ab
parent 605
96cef8773963
child 696
46dd5299006d
--- a/.profile.common
+++ b/.profile.common
@@ -2,8 +2,10 @@
 
 umask 027
 
-make -s -C ~/.ssh ||
-  cat ~/.ssh/config.d/* > ~/.ssh/config
+make -s -C ~/.ssh || {
+  cat ~/.ssh/config.d/* > ~/.ssh/config &&
+  chmod 600 $_
+}
 
 export EDITOR=vim
 export SUDO_EDITOR=$HOME/bin/privim

mercurial