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-doc | 1 + 1 file changed, 1 insertion(+) (limited to 'new-doc') diff --git a/new-doc b/new-doc index f311766..726d899 100755 --- a/new-doc +++ b/new-doc @@ -55,6 +55,7 @@ EOF if [[ ${#tags[@]} -gt 0 ]]; then i=0 for tag in "${tags[@]}"; do + tag="${tag%/}" if [[ $i -eq 0 ]]; then echo -n ':tags: ' else -- cgit v1.2.3