Giter Site home page Giter Site logo

Comments (4)

imsnif avatar imsnif commented on August 17, 2024

All shells are supported as long as they use the native terminal scrollback (afaik all shells do this).

from zellij.

sgon00 avatar sgon00 commented on August 17, 2024

I type nu to enter nushell. When I restore session, the pane only asks me to re-run the command nu. That's all. I lost all nushell scrollback history. So what should I do to restore nushell? Thanks a lot.

from zellij.

Zykino avatar Zykino commented on August 17, 2024

You should not "start nu" manually. It should be your default shell. Either true default (but Iā€™m not sure they advertise for that for the same reason fish does not advertise for that) or by configuring nu as the default in zellij:

In "~/.config/zellij/config.kdl", set

// Choose the path to the default shell that zellij will use for opening new panes
// Default: $SHELL
//
default_shell "nu"

from zellij.

sgon00 avatar sgon00 commented on August 17, 2024

Thanks for the tip. I tried to set nushell as default_shell. The scrollback restore works randomly.

Edited:
I found the problem why it works randomly. Basically, the session and scrollback will require 60+ seconds to be saved. The doc says the zellij serializes the session data every 1 second and never mention it requires 60 seconds.

From my point of view, I think every change should be saved to disk instead of relying on any kind of time intervals.

from zellij.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.