add fallbacks for when make isn't around yet

Wed, 19 Apr 2017 15:27:47 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 19 Apr 2017 15:27:47 -0400
changeset 545
cd5b3906e687
parent 544
f8c29fb56a91
child 546
37e57701e936

add fallbacks for when make isn't around yet

.profile.common file | annotate | diff | comparison | revisions
.xsessionrc file | annotate | diff | comparison | revisions
--- a/.profile.common
+++ b/.profile.common
@@ -2,7 +2,8 @@
 
 umask 027
 
-make -s -C ~/.ssh
+make -s -C ~/.ssh || \
+  cat .ssh/config.d/* > .ssh/config
 
 export EDITOR=vim
 export SUDO_EDITOR=$HOME/bin/privim
--- a/.xsessionrc
+++ b/.xsessionrc
@@ -20,7 +20,8 @@ fi
 
 urxvtd -q -o -f
 
-make -s -C ~/.i3
+make -s -C ~/.i3 || \
+  { cat .i3/config.d/* > .i3/config && cat .i3/status.d/* > .i3/status }
 
 if [ -r ~/.xsessionrc.local ]; then
   . ~/.xsessionrc.local

mercurial