projects
/
shellsnippets
/
shellsnippets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
25ea9bd
)
permit ksh extglobs in GNU bash
author
mirabilos
<tg@mirbsd.org>
Fri, 28 Aug 2015 22:24:49 +0000
(22:24 +0000)
committer
mirabilos
<tg@mirbsd.org>
Fri, 28 Aug 2015 22:24:49 +0000
(22:24 +0000)
bash-ksh/profile-funcs
patch
|
blob
|
history
diff --git
a/bash-ksh/profile-funcs
b/bash-ksh/profile-funcs
index
f2f18fa
..
056e644
100644
(file)
--- a/
bash-ksh/profile-funcs
+++ b/
bash-ksh/profile-funcs
@@
-1,3
+1,5
@@
+test -z "$BASH_VERSION" || shopt -s extglob
+
# Debian Bug Tracking System
bts() {
if [[ $1 = +([0-9]) ]]; then