Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Is it possible to embed the REPL?
- X-seq: zsh-workers 44668
- From: Aryn Starr <whereislelouch@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Is it possible to embed the REPL?
- Date: Thu, 15 Aug 2019 19:00:07 +0430
- 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==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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’t make available the unexported variables in scope.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author