Commit 741e48cebaa99714f49f70bb23ead446d4f7b13c

Thomas de Grivel 2023-09-19T15:26:21

update

diff --git a/.emacs b/.emacs
index 738adb5..047ff5e 100644
--- a/.emacs
+++ b/.emacs
@@ -26,9 +26,9 @@
 ;      lsp-signature-auto-activate nil)
 
 ;;  Erlang
-(add-to-list 'load-path "/usr/local/lib/erlang24/lib/tools-3.5.2/emacs")
-(setq erlang-root-dir "/usr/local/lib/erlang24")
-(setq exec-path (cons "/usr/local/lib/erlang24/bin" exec-path))
+(add-to-list 'load-path "/usr/local/lib/erlang25/lib/tools-3.5.3/emacs")
+(setq erlang-root-dir "/usr/local/lib/erlang25")
+(setq exec-path (cons "/usr/local/lib/erlang25/bin" exec-path))
 (require 'erlang-start)
 
 ;;  Ruby
diff --git a/.profile b/.profile
index 89864c4..7e23e7c 100644
--- a/.profile
+++ b/.profile
@@ -2,17 +2,24 @@
 #
 # sh/ksh initialization
 
-PATH="$HOME/.gem/ruby/2.7/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/home/npm/global/bin:/usr/local/bin:/usr/local/sbin:/usr/games:$HOME/.local/bin"
+PATH="$HOME/.gem/ruby/2.7/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/home/npm/global/bin:/usr/local/bin:/usr/local/sbin:/home/npm/npm/node_modules/.bin:/usr/games:$HOME/.local/bin:$HOME/shpkg/bin"
 export PATH HOME
 
 export EDITOR=emacs
-export LC_ALL=C.UTF-8
+export LC_ALL=en_US.UTF-8
 export TERM=xterm-256color
 
-export CC=egcc
-export GCOV=egcov
+#export CC=egcc
+#export GCOV=egcov
 
 export AUTOCONF_VERSION=2.69
 export AUTOMAKE_VERSION=1.16
 export CVSROOT="anoncvs@anoncvs.fr.openbsd.org:/cvs"
 
+#export CC=egcc
+#export GCOV=egcov
+
+export CC=cc
+unset GCOV
+
+export LD_LIBRARY_PATH=/home/dx/c/thodg/c3-lang/c3/libc3/.libs:/home/dx/c/thodg/c3-lang/c3/libffi/.libs
diff --git a/bin/backup_home b/bin/backup_home
index 1de87c5..696bb53 100755
--- a/bin/backup_home
+++ b/bin/backup_home
@@ -1,11 +1,11 @@
 #!/bin/sh
 
-HOSTS="bim twice reed oaa os pfem vulon beetle proton pfem"
-HOSTS="os oaa vuchil vulon vusea vusing"
+HOSTS="twice reed bim proton"
+HOSTS="$HOSTS os oaa vuchil vulon vusea vusing"
 
 PATHS="$@"
 if [ "x$PATHS" = "x" ]; then
-    PATHS="Documents c/c3-lang common-lisp config erlang kmx.io ports ruby txt"
+    PATHS="Documents c/thodg common-lisp/thodg config erlang/thodg kmx.io ports ruby/thodg txt"
 fi
 
 run () {
@@ -16,6 +16,6 @@ run () {
 cd
 for HOST in $HOSTS; do
     for P in $PATHS; do
-        run rsync -a "$P" "$HOST":"$(dirname "$P")/"
+        run rsync -a --delete-before "$P" "$HOST":"$(dirname "$P")/"
     done
 done