tcsh-6.19.00-008-fix-ln-1-completion.patch added

> Fix ln(1) completion.
This commit is contained in:
David Kaspar [Dee'Kej] 2016-05-03 13:22:21 +02:00
parent e5da57f10e
commit 6950b90e74
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
From 33f2a2b3e17194b38f68d710f200fca63bc91a38 Mon Sep 17 00:00:00 2001
From: christos <christos>
Date: Fri, 3 Jul 2015 16:52:47 +0000
Subject: [PATCH] Fix ln(1) completion. next word completions don't do partial
matches anymore (since the word has been completed...) so n/-/f etc don't
match -s anymore; change it to n/-*/f so that it works.
---
complete.tcsh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/complete.tcsh b/complete.tcsh
index 41bdbb0..cceab4f 100644
--- a/complete.tcsh
+++ b/complete.tcsh
@@ -1009,7 +1009,7 @@ complete ln c/--/"(backup directory force no-dereference \
c/-/"(b d F f i n S s V v -)"/ \
n/{-S,--suffix}/x:'<suffix>'/ \
n/{-V,--version-control}/"(t numbered nil existing \
- never simple)"/ n/-/f/ N/-/x:'<link_name>'/ \
+ never simple)"/ n/-*/f/ N/-*/x:'<link_name>'/ \
p/1/f/ p/2/x:'<link_name>'/
complete touch c/--/"(date reference time help version)"/ \
c/-/"(a c d f m r t -)"/ \
--
2.5.5

View File

@ -36,6 +36,7 @@ Patch004: tcsh-6.19.00-004-remove-unused-variable.patch
Patch005: tcsh-6.19.00-005-ge0-is-always-true-for-unsigned.patch
Patch006: tcsh-6.19.00-006-_SIGWINCH-added.patch
Patch007: tcsh-6.19.00-007-fix-handling-of-invalid-unicode-characters.patch
Patch008: tcsh-6.19.00-008-fix-ln-1-completion.patch
# Downstream patches -- these should be always included when doing rebase:
@ -164,6 +165,7 @@ fi
tcsh-6.19.00-005-ge0-is-always-true-for-unsigned.patch
tcsh-6.19.00-006-_SIGWINCH-added.patch
tcsh-6.19.00-007-fix-handling-of-invalid-unicode-characters.patch
tcsh-6.19.00-008-fix-ln-1-completion.patch
* Thu Apr 21 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 6.19.00-6
- Drop tcsh-6.15.00-closem.patch - issue not reproducible, patch not accepted by upstream