summaryrefslogtreecommitdiff
path: root/new-doc
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2009-09-07 11:58:23 +0200
committerdakkar <dakkar@thenautilus.net>2009-09-07 11:58:23 +0200
commit772349cd4aa9f92080e26ffcdf8acb33312cc723 (patch)
tree24d48c77018b0425b4b309b009c5d29058acc277 /new-doc
parentfix spacing in translation (diff)
downloadthenautilus-772349cd4aa9f92080e26ffcdf8acb33312cc723.tar.gz
thenautilus-772349cd4aa9f92080e26ffcdf8acb33312cc723.tar.bz2
thenautilus-772349cd4aa9f92080e26ffcdf8acb33312cc723.zip
bash programmable completion for new-* scripts
Diffstat (limited to 'new-doc')
-rwxr-xr-xnew-doc1
1 files changed, 1 insertions, 0 deletions
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