iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bash-bear rename and a few improvements
[distro-setup]
/
brc2
diff --git
a/brc2
b/brc2
index af4d8082aaa92268c4f0f9daa5e10e6501be15c5..fbe19ebbcca468d00b2f2caa942466cd83bf88ec 100644
(file)
--- a/
brc2
+++ b/
brc2
@@
-58,6
+58,13
@@
source /a/bin/log-quiet/logq-function
source /a/bin/bash_unpublished/source-semi-priv
source /a/bin/bash_unpublished/source-state
source /a/bin/bash_unpublished/source-semi-priv
source /a/bin/bash_unpublished/source-state
+if [[ $HOSTNAME == "$MAIL_HOST" ]]; then
+ export MAIL_HOST_P=t
+else
+ export NOT_MAIL_HOST_P=t
+fi
+
+
source /a/bin/log-quiet/logq-function
# not used
source /a/bin/log-quiet/logq-function
# not used
@@
-3100,6
+3107,7
@@
ngo() {
otp() {
oathtool --totp -b "$*" | xclip -selection clipboard
}
otp() {
oathtool --totp -b "$*" | xclip -selection clipboard
}
+# run cmd and copy output
j() {
"$@" |& pee "xclip -r -selection clipboard" cat
}
j() {
"$@" |& pee "xclip -r -selection clipboard" cat
}