From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: A novel, unprecedented approach to command line - n-commodore
Date: Fri, 14 Apr 2023 21:45:07 +0200 [thread overview]
Message-ID: <CAKc7PVCEGa36Ago_jMEsn+w3x13wB39F9JTYK_eXzd9-maDTeg@mail.gmail.com> (raw)
In-Reply-To: <CAKc7PVA3qOw1VqJKPBTW8dtTAextWmx5JxZiPhhg92aQ9Hy9HQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1664 bytes --]
Basically it's about 3 factors: panelize everything, grep everything and
save everything.
Panelization is known from Midnight Commander - it means to capture command
output into a list that can be browsed. Grepping is known from fzf. Screen
saving is a new paradigm
You basically have new screen (a greppable panel) for each new command,
which is saved to the disk (GDBM), and which can be fetched/navigated to,
having also PWD dir and position in panel restored.
pt., 14 kwi 2023, 20:01 użytkownik Sebastian Gniazdowski <
sgniazdowski@gmail.com> napisał:
> Hi,
> by accident, I might have discovered a novel approach to command line
> - a merge of Midnight Commander panels with pure shell. Basically,
> n-commodore, the project that does this, panelizes each command that
> you enter and allows multi-keyword grepping. Up to this point, it's
> like fzf. However, by use of db/gdbm module, n-commodore's also:
> - allows a persistent save of each of the screens (even of the help
> screen, e.g.),
> - the screens are saved and indexed, for later retrieval via
> Ctrl-Shift-Left/RIight,
> - they save not only the panel, but also: current PWD, active line in
> the panel, search query/command line buffer and restores them on
> fetch.
>
> n-commodore is a Zsh script implemented on top of Zui library.
> Persistence is done via db/gdbm module. You can clone the repo and
> simply run bin/n-c or use a plugin manager (alias `nc` will be then
> set up). The login shell can be Bash or any other, if zsh will be
> installed.
>
> Asciicast: https://asciinema.org/a/577630
> Homepage: https://github.com/psprint/n-commodore
>
[-- Attachment #2: Type: text/html, Size: 2270 bytes --]
prev parent reply other threads:[~2023-04-14 19:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-14 18:01 Sebastian Gniazdowski
2023-04-14 19:45 ` Sebastian Gniazdowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKc7PVCEGa36Ago_jMEsn+w3x13wB39F9JTYK_eXzd9-maDTeg@mail.gmail.com \
--to=sgniazdowski@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).