Error in nushell + tmux - hoping someone can help #1131
Replies: 1 comment
-
|
The following patch partially fixes the problem. It removes any errors when I create a new tmux pane or window. That good. But my ability to restore a session is hit and miss. Some of the pains are not institutionalizing correctly. In general, tmux seems to pass $env value as strings. The script needs to support deserializing accordingly. ---------------------------------------------------------Zoxide patchdef regen-zoxide-nu [] { let stock = (zoxide init nushell) let patched = ( $patched | save -f ~/.zoxide.nu Run the patchregen-zoxide-nu Zoxide initializationsource ~/.zoxide.nu End patch--------------------------------------------------------- |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I fire up a new window or pane in tmux, I get the following error:
The auto-generated `~/.zoxide.nu includes the following snippet where we can see that we are indeed setting __zoxide_hooked to a boolean value (not a string).
Has anyone navigated this issue when using tmux with nushell? It's an error that fires-up when I start the a new window or pane, but does not actually prevent
zfrom operating as expected. That said, when i start tmux from a stored session... I just can't. The shells fail to start-up as needed.Beta Was this translation helpful? Give feedback.
All reactions