From b765b007762ab2dcbd451ebe4c49c09bd605e338 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Thu, 15 Aug 2013 23:55:12 -0700 Subject: [PATCH] Wait... they should be a maximum of 4 digits. --- lib/git/status_shortcuts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git/status_shortcuts.sh b/lib/git/status_shortcuts.sh index e562063..3e1dcac 100644 --- a/lib/git/status_shortcuts.sh +++ b/lib/git/status_shortcuts.sh @@ -119,7 +119,7 @@ scmb_expand_args() { first=1 OLDIFS="$IFS"; IFS=" " # We need to split on spaces to loop over expanded range for arg in "$@"; do - if [[ "$arg" =~ ^[0-9]{0,3}$ ]] ; then # Substitute $e{*} variables for any integers + if [[ "$arg" =~ ^[0-9]{0,4}$ ]] ; then # Substitute $e{*} variables for any integers if [ "$first" -eq 1 ]; then first=0; else printf '\t'; fi if [ -e "$arg" ]; then printf '%s' "$arg"