Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
autocompletion is broken in restricted shell
- X-seq: zsh-workers 41059
- From: Jan Kryl <jan.kryl@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: autocompletion is broken in restricted shell
- Date: Mon, 8 May 2017 11:38:37 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexenta-com.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:message-id:date:to; bh=Fs/12e7ueWnKbzvdSlOBrZvMzWBB6mG45KogxDLGmnM=; b=jq1NjiGzzDjDH9Vv4kO1xzz6c2DiDrd8eOFnROeI85Zd91TygJaAxbN981XtXLju0S rKITmlPLMnGyk9pvdoWQrrQwyK+PvJc3uA/D9p96ZaRfXgHL/exjKGMFHOR4bCdqvcm1 1eSFfWkWZqdyWe9+srSCTO+2jjNGBr1cQ2rsOCvRFlE/Rv0w1l55YQFcq1GUEiLlWyM5 UcRvpy6tUAK6dSfIV74ZZcWCaaKuRR+17NZ8N3UFL8RoI0kOClL1hbQSCQ2ykfH0hpv6 rkRyhb38weL/TDGOmmM5RjQXf//7dn4ySbE9medLoH08QbyNn+uC59g9ZeyCHuuY4AkQ K9bQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi,
after we updated zsh to 5.3 autocompletion stopped to work for us in restricted
shell. This is mainly due to "38692: IFS can't be changed in restricted mode”.
I suppose there is a good reason why setting IFS is not allowed in restricted mode
even though that it’s not apparent to me.
However at least I would like to fix another thing which breaks autocompletion and
that is using write redirections in autocompletion code. That can be avoided by using
2>&- instead of 2>/dev/null. A patch for review is attached.
thanks
-Jan
Attachment:
patch
Description: Binary data
Messages sorted by:
Reverse Date,
Date,
Thread,
Author