various improvements
[distro-setup] / brc
diff --git a/brc b/brc
index 9fff367476d4fb1413831f1f4255e6f5be113f53..6ea6aad496a87ba5219f4755c2424864478bfe94 100644 (file)
--- a/brc
+++ b/brc
@@ -692,8 +692,8 @@ fa() {
   done < <(find "$@" -print0);
 }
 
-faf() { # find all files
-  find -L $1 -not \( -name .svn -prune -o -name .git -prune \
+faf() { # find all files. use -L to follow symlinks
+  find $@ -not \( -name .svn -prune -o -name .git -prune \
        -o -name .hg -prune -o -name .editor-backups -prune \
        -o -name .undo-tree-history -prune \) -type f 2>/dev/null
 }
@@ -1273,7 +1273,7 @@ mbenable() {
   [[ -e $src ]] || { set +x; return 1; }
   mv -T $src $dst || { set +x; return 1; }
   ln -s -T $dst $src
-  /a/exe/lnf /p/.mu ~
+  /a/exe/lnf /m/.mu ~
   mu index --maildir=/m/4e
   set +x
 }
@@ -1906,9 +1906,10 @@ testexim() {
   # note, for exim daemon, you can turn on debug options by
   # adding -d, etc to COMMONOPTIONS in
   # /etc/default/exim4
-  exim -d -t <<'EOF'
+#  exim -d -t <<'EOF'
+  exim -i 'test@zroe.org, t2@zroe.org'  <<'EOF'
 From: ian@iankelling.org
-To: root@lists0p.fsf.org
+To: test@zroe.org, t2@zroe.org
 Subject: Testing Exim
 
 This is a test message.
@@ -2325,13 +2326,17 @@ path_add --end $HOME/.cargo/bin
 
 # taken from default changes to bashrc and bash_profile
 path_add --end $HOME/.rvm/bin
+path_add --end $HOME/.gem/ruby/2.3.0/bin
 
 # shellcheck disable=SC1090
 [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
 
 export BASEFILE_DIR=/a/bin/fai-basefiles
 
-export ANDROID_HOME=/opt/android
+#export ANDROID_HOME=/a/opt/android-home
+# https://f-droid.org/en/docs/Installing_the_Server_and_Repo_Tools/
+#export USE_SDK_WRAPPER=yes
+#PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
 
 # didnt get drush working, if I did, this seems like the
 # only good thing to include for it.