From 9a79a60c90ca0001f1d792dc01c0da0dcf179668 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 8 Jun 2024 17:49:54 +0200 Subject: 52946: Revert "Handle completer filenames with funny characters in them" This reverts commit 88f47569030b12345aee3bd857e424351ee61726. --- Completion/compdump | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/compdump') diff --git a/Completion/compdump b/Completion/compdump index 5af5174f1..6daf92f9f 100644 --- a/Completion/compdump +++ b/Completion/compdump @@ -113,7 +113,7 @@ integer _i=5 print -n autoload -Uz >& $_d_fd while (( $#_d_als )); do if (( ! $+_compautos[$_d_als[1]] )); then - print -rn " ${(q-)_d_als[1]}" + print -n " $_d_als[1]" if (( ! --_i && $#_d_als > 1 )); then _i=5 print -n ' \\\n ' @@ -126,13 +126,13 @@ print >& $_d_fd local _c for _c in "${(ok@)_compautos}"; do - print -r "autoload -Uz ${(q-)_compautos[$_c]} $_c" >& $_d_fd + print "autoload -Uz $_compautos[$_c] $_c" >& $_d_fd done print >& $_d_fd print "typeset -gUa _comp_assocs" >& $_d_fd -print -r "_comp_assocs=( ${(qq)_comp_assocs} )" >& $_d_fd +print "_comp_assocs=( ${(qq)_comp_assocs} )" >& $_d_fd exec {_d_fd}>&- mv -f $_d_file ${_d_file%.$HOST.$$} -- cgit v1.2.3-70-g09d2