From 6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 15 Apr 1999 18:24:09 +0000 Subject: zsh-3.1.5-pws-14 --- Completion/Commands/_correct_filename | 4 ++-- Completion/Commands/_most_recent_file | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/Commands') diff --git a/Completion/Commands/_correct_filename b/Completion/Commands/_correct_filename index 27295738c..72bac5f1b 100644 --- a/Completion/Commands/_correct_filename +++ b/Completion/Commands/_correct_filename @@ -45,7 +45,7 @@ fi if [[ -z $testcmd && -e "$file" ]] || { [[ -n $testcmd ]] && whence "$file" >&/dev/null }; then if [[ -n $WIDGET ]]; then - compadd -QUf -i "$IPREFIX" "${file/#$etilde/$tilde}" + compadd -QUf -i "$IPREFIX" -I "$ISUFFIX" "${file/#$etilde/$tilde}" [[ -n "$compstate[insert]" ]] && compstate[insert]=menu else print "$file" @@ -65,7 +65,7 @@ done (( $#trylist )) || return 1 if [[ -n $WIDGET ]]; then - compadd -QUf -i "$IPREFIX" "${trylist[@]/#$etilde/$tilde}" + compadd -QUf -i "$IPREFIX" -I "$ISUFFIX" "${trylist[@]/#$etilde/$tilde}" [[ -n "$compstate[insert]" ]] && compstate[insert]=menu else print "$IPREFIX${^trylist[@]}" diff --git a/Completion/Commands/_most_recent_file b/Completion/Commands/_most_recent_file index df35ecba7..5bd737fd2 100644 --- a/Completion/Commands/_most_recent_file +++ b/Completion/Commands/_most_recent_file @@ -19,4 +19,4 @@ if [[ $PREFIX = \~*/* ]]; then else file=($~PREFIX*$~SUFFIX(om[$NUMERIC]N)) fi -(( $#file )) && compadd -U -f -Q $file +(( $#file )) && compadd -U -i "$IPREFIX" -I "$ISUFFIX" -f -Q $file -- cgit 1.4.1