From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 2ec4675a for ; Thu, 15 Aug 2019 14:30:53 +0000 (UTC) Received: (qmail 28414 invoked by alias); 15 Aug 2019 14:30:48 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 44668 Received: (qmail 4572 invoked by uid 1010); 15 Aug 2019 14:30:48 -0000 X-Qmail-Scanner-Diagnostics: from st43p00im-zteg10071901.me.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25538. spamassassin: 3.4.2. Clear:RC:0(17.58.63.169):SA:0(-4.3/5.0):. Processed in 1.524536 secs); 15 Aug 2019 14:30:48 -0000 X-Envelope-From: whereislelouch@icloud.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at icloud.com designates 17.58.63.169 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1565879411; bh=Zq9gMVSRTM9QEIq5YUZcDtu/iSE682rZ93g93tIOcKM=; h=From:Content-Type:Date:Subject:Message-Id:To; b=P0U5EJKRashA0DP+Tws46S47ygNlZN2uorCHN4lgmYWVIpeww9WaeZojF+66O6fsw oDK5LpDo567MZzV4hZxgbFlKa0o9EhgZ0GUoeamUL2DziB7R122cXXajhsiECEysMq bMRK8SaaD/DwBG59Bf6GPcuFhEcUhQlQqzICVooJyMfeQKRWKJ60P8gqXzOIkdtwuQ 1XlgMrxGJmlVae6mFEPtVv9hpnqMtuPJ+E3VgEEPC8JO5jIV4cEC2GEe+3T0J/Snex YyB7gFefrO0RQMcaAYL4zsudQ0jn61GTEi9iOnukw93aDe499rXKaL3F2p91WVgiKU 7xH8U5XRgAm5A== From: Aryn Starr Content-Type: multipart/alternative; boundary=Apple-Mail-4711449D-3201-45C5-B4AC-5C2D0E608ED7 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Date: Thu, 15 Aug 2019 19:00:07 +0430 Subject: Is it possible to embed the REPL? Message-Id: To: zsh-workers@zsh.org X-Mailer: iPad Mail (16F203) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-15_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=295 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1812120000 definitions=main-1908150148 --Apple-Mail-4711449D-3201-45C5-B4AC-5C2D0E608ED7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I want to open an interactive REPL in my zsh functions (mainly for debugging= purposes); Exactly like IPython.embed(). One way to do something similar is to simply invoke another instance of zsh,= but this solution doesn=E2=80=99t make available the unexported variables i= n scope. --Apple-Mail-4711449D-3201-45C5-B4AC-5C2D0E608ED7--