iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes
[distro-setup]
/
brc2
diff --git
a/brc2
b/brc2
index bb33b7d768204ff7097f372c6bfbc6cb3f66b6bc..3b1d5ba270298d0329926c20719c38b5141f7c76 100644
(file)
--- a/
brc2
+++ b/
brc2
@@
-2012,6
+2012,10
@@
apache-apply-repo() {
apache-apply() {
for file; do
apache-apply() {
for file; do
+ if [[ ! -e $file ]]; then
+ echo '#!/bin/bash' >$file
+ chmod +x $file
+ fi
if head -n1 "$file"| grep -E '^#!/' &>/dev/null; then
{
head -n1 "$file"
if head -n1 "$file"| grep -E '^#!/' &>/dev/null; then
{
head -n1 "$file"
@@
-4850,19
+4854,24
@@
klease() {
}
# ffs and switch the bash history on this terminal.
}
# ffs and switch the bash history on this terminal.
-ffs() {
- local last
- last="${*: -1}"
- if [[ $last && $last != -* && $last != sysops ]]; then
- his
- fi
- command ffs "$@"
-}
+# disabled because I don't really need this and
+# the history switching is annoying for debugging.
+#
+# ffs() {
+# local last
+# last="${*: -1}"
+# if [[ $last && $last != -* && $last != sysops ]]; then
+# his
+# fi
+# command ffs "$@"
+# }
i3gen() {
/b/ds/i3-sway/gen
}
i3gen() {
/b/ds/i3-sway/gen
}
+
+
export BASEFILE_DIR=/a/bin/fai-basefiles
#export ANDROID_HOME=/a/opt/android-home
export BASEFILE_DIR=/a/bin/fai-basefiles
#export ANDROID_HOME=/a/opt/android-home