iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shellcheck, better automated upgrades
[distro-setup]
/
brc
diff --git
a/brc
b/brc
index 1d6e833471c67ee4eb472a2f24957d215504aeb3..55efac12039265d516bcac23b0ee91b756b2a289 100644
(file)
--- a/
brc
+++ b/
brc
@@
-26,9
+26,7
@@
unalias -a
shopt -s extglob
# include .files when globbing, but ignore files name . and ..
# setting this also sets dotglob.
shopt -s extglob
# include .files when globbing, but ignore files name . and ..
# setting this also sets dotglob.
-# Note, this doesnt work in bash 4.4 anymore, for paths with
-# more than 1 directory, like a/b/.foo, since * is fixed to not match /
-export GLOBIGNORE=*/.:*/..
+export GLOBIGNORE="*/.:*/.."
# broken with bash_completion package. Saw a bug for this once. dont anymore.
# still broken in wheezy
# broken with bash_completion package. Saw a bug for this once. dont anymore.
# still broken in wheezy
@@
-1637,12
+1635,17
@@
sgo() { # service go
fi
}
fi
}
+sgu() {
+ systemctl list-unit-files | rg "$@"
+}
-s
hellc
k() {
+sk() {
# 2086 = unquoted $var
# 2046 = unquoted $(cmd)
# 2086 = unquoted $var
# 2046 = unquoted $(cmd)
+ # 2068: Double quote array expansions to avoid re-splitting elements.
# i had -x as an arg, but debian testing(stretch) doesn\'t support it
# i had -x as an arg, but debian testing(stretch) doesn\'t support it
- shellcheck -e 2086,2046,2068,2006,2119 "$@"
+ shellcheck -x -e 2086,2046,2068 "$@"
+ # had this before. not sure what it is 2119
}
skaraoke() {
}
skaraoke() {