summaryrefslogtreecommitdiff
path: root/Completion/User/_netscape
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_netscape')
-rw-r--r--Completion/User/_netscape12
1 files changed, 3 insertions, 9 deletions
diff --git a/Completion/User/_netscape b/Completion/User/_netscape
index ed2bccc75..33db18aee 100644
--- a/Completion/User/_netscape
+++ b/Completion/User/_netscape
@@ -56,15 +56,9 @@ if [[ "$state" = "remote" ]]; then
fi
;;
*)
- if [[ -z "$QIPREFIX" ]]; then
- _wanted commands expl 'remote commands' \
- compadd -s'(' -S '' -M 'm:{a-zA-Z}={A-Za-z}' - \
- $remote_commands && ret=0
- else
- _wanted commands expl 'remote commands' \
- compadd -qS '(' -M 'm:{a-zA-Z}={A-Za-z}' - \
- $remote_commands && ret=0
- fi
+ _wanted commands expl 'remote commands' \
+ compadd -qS "${${QIPREFIX:+(}:-\(}" -M 'm:{a-zA-Z}={A-Za-z}' - \
+ $remote_commands && ret=0
;;
esac
fi