iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mainly fix vpn dns issue
[distro-setup]
/
brc2
diff --git
a/brc2
b/brc2
index 6effa21c788e939e514c7a1c17887bae135c9bea..9c941fec155146f664ce3a5b5f4d6cf7f556474d 100644
(file)
--- a/
brc2
+++ b/
brc2
@@
-630,6
+630,9
@@
digme() {
digdiff @ns{1,2}.iankelling.org "$@"
}
digdiff @ns{1,2}.iankelling.org "$@"
}
+tsr() { # ts run
+ "$@" |& ts || return $?
+}
dup() {
local ran_d
dup() {
local ran_d
@@
-638,20
+641,20
@@
dup() {
case $PS1 in
*[\ \]]D\ *)
pushd /
case $PS1 in
*[\ \]]D\ *)
pushd /
- /b/ds/distro-begin || return $?
- /b/ds/distro-end || return $?
+ /b/ds/distro-begin |
& ts |
| return $?
+ /b/ds/distro-end |
& ts |
| return $?
popd
ran_d=true
;;&
*[\ \]]DB\ *)
pushd /
popd
ran_d=true
;;&
*[\ \]]DB\ *)
pushd /
- /b/ds/distro-begin || return $?
+ /b/ds/distro-begin |
& ts |
| return $?
popd
ran_d=true
;;
*[\ \]]DE\ *)
pushd /
popd
ran_d=true
;;
*[\ \]]DE\ *)
pushd /
- /b/ds/distro-end || return $?
+ /b/ds/distro-end |
& ts |
| return $?
popd
ran_d=true
;;&
popd
ran_d=true
;;&