diff --git a/lib/shopt.sh b/lib/shopt.sh index 589b710..6ab8057 100644 --- a/lib/shopt.sh +++ b/lib/shopt.sh @@ -18,6 +18,9 @@ PROMPT_DIRTRIM=${PROMPT_DIRTRIM:-2} # E.g. typing !! will replace the !! with your last command bind Space:magic-space +# Turn on extended glob patterns such as @(...), *(...), ?(...), and +(...) +shopt -s extglob + # Turn on recursive globbing (enables ** to recurse all directories) shopt -s globstar 2> /dev/null