Enable '**' patttern matching. If the pattern is followed by a /, only dirs
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 27 Feb 2013 19:30:23 +0200
changeset 619 8080fc135a18
parent 618 9145a4e8857f
child 621 c26afe3a6d86
Enable '**' patttern matching. If the pattern is followed by a /, only dirs match. Ignore case in glob. Show stopped jobs before exit.
.bashrc
--- a/.bashrc	Wed Feb 27 19:11:17 2013 +0200
+++ b/.bashrc	Wed Feb 27 19:30:23 2013 +0200
@@ -76,6 +76,15 @@
 # ksh-88 egrep-style extended pattern matching.
 shopt -s extglob
 
+# Enable '**' patttern matching. If the pattern is followed by a /, only dirs match.
+shopt -s globstar
+
+# Ignore case in glob.
+shopt -s nocaseglob
+
+# Show stopped jobs before exit. Next ^D force to leave bash...
+shopt -s checkjobs
+
 # Adjust settings according to current terminal window width
 # which may have changed while the last command was running
 # (which is a common occurance for vim/less/etc.)