summaryrefslogtreecommitdiff
path: root/Completion/X/Command/_rdesktop
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/X/Command/_rdesktop')
-rw-r--r--Completion/X/Command/_rdesktop3
1 files changed, 1 insertions, 2 deletions
diff --git a/Completion/X/Command/_rdesktop b/Completion/X/Command/_rdesktop
index 5e480b333..55a6ea7b5 100644
--- a/Completion/X/Command/_rdesktop
+++ b/Completion/X/Command/_rdesktop
@@ -89,9 +89,8 @@ case $state in
;;
redirection)
redir="${PREFIX%%:*}"
- if compset -P '*='; then
+ if compset -P 1 '*='; then
curcontext="${curcontext%:*}:$redir"
- compset -P '*='
case $redir in
comport|lptport) _wanted devices expl device _files -g '*(-%)' && ret=0 ;;
disk) _directories && ret=0 ;;