From 772349cd4aa9f92080e26ffcdf8acb33312cc723 Mon Sep 17 00:00:00 2001 From: dakkar Date: Mon, 7 Sep 2009 11:58:23 +0200 Subject: bash programmable completion for new-* scripts --- new-tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'new-tag') diff --git a/new-tag b/new-tag index e8b03db..6b999a8 100755 --- a/new-tag +++ b/new-tag @@ -23,7 +23,7 @@ now="$(TZ=UTC date +'%F %T')" langs="${LANGS:-en it}" for tag in "$@"; do - + tag="${tag%/}" if [[ -d "$tag" ]]; then >&2 echo "tag \"$tag\" already exists" else -- cgit v1.2.3