fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.8K
active users

#mcfly

0 posts0 participants0 posts today

I was using #zsh for the last many years, and I have configured EVERYTHING the way I like.

- Auto-completions
- Per-directory history
- #McFly for Ctrl-R quick search
- Aliases

Now I'm moving to #nushell and I want to configure everything in the same way. But, per-directory history is either broken or non-existent: github.com/nushell/nushell/dis

People do not use per-directory history? This is AWESOME, every time you switch directory you have your entire relevant history at your fingertips. I recommend everyone to try it.

zsh has per-directory-history plugin (i was using oh-my-zsh)
#atuin has even better search, you can filter by workspace/directory/session/...

Atuin has solved missing/broken per-directory history partially, but god I want this to be default in all shells.

How do I limit history available by "up arrow" key, to only include items from current directory? I'm using sqlite history, so in theory this should be possible. In my previous life with zsh, there...
GitHubHow to get per-directory history by "Up Arrow" · nushell nushell · Discussion #15670How do I limit history available by "up arrow" key, to only include items from current directory? I'm using sqlite history, so in theory this should be possible. In my previous life with zsh, there...

Eigentlich wollte ich, weil es mir gerade wieder mal als sehr praktisch auffiel, auf das schöne Dienstprogramm McFly - github.com/cantino/mcfly - für die Kommandozeilenhistorie hinweisen. Eingegebene Befehle werden in einer Datenbank gesammelt und lassen sich mittels [Strg][R] im Kontext der zuletzt verwendeten Befehle und des aktuellen Verzeichnisses durchsuchen. Da kommt zielsicher Nützliches wieder zum Vorschein.
Habe ich aber vor rund 8 Monaten schon mal getan. Na gut, dann halt nicht. 🙂

#McFly #Shell #Kommandozeile #Kommandozeilen-Tools #ShellHistory

Fly through your shell history. Great Scott! Contribute to cantino/mcfly development by creating an account on GitHub.
GitHubGitHub - cantino/mcfly: Fly through your shell history. Great Scott!Fly through your shell history. Great Scott! Contribute to cantino/mcfly development by creating an account on GitHub.
Replied in thread

@robpumphrey @b0rk

atuin kind of does this, but I prefer similar another tool #mcfly :

github.com/cantino/mcfly

I tried atuin, and it's nice, but I like this better because of UI and "suggestions are prioritized in real time with a small neural network.".

That's bit of magic that makes the difference.

Fly through your shell history. Great Scott! Contribute to cantino/mcfly development by creating an account on GitHub.
GitHubGitHub - cantino/mcfly: Fly through your shell history. Great Scott!Fly through your shell history. Great Scott! Contribute to cantino/mcfly development by creating an account on GitHub.

Shell history war heute an anderer Stelle Thema, da werfe ich doch gerne mal
McFly in die Runde, erhältlich auf github.com/cantino/mcfly.

Seit Jahren auf meinen Rechnern guter Partner bei der Suche nach verschollenen Kommandos aus besseren bzw. vergessenen Zeiten …

Aus der Selbstbeschreibung des Projekts: „McFly replaces your default ctrl-r shell history search with an intelligent search engine that takes into account your working directory and the context of recently executed commands. McFly's suggestions are prioritized in real time with a small neural network."

(Wie ich gerade selbst erst sehe, soll mit der Version 0.9.0 das ab Kernel 6.2 ggf. erforderliche Aktivieren von TIOCSTI mittels dev.tty.legacy_tiocsti=1 nicht mehr notwendig sein. Gute Sache.)

#Linux#CLI#FLOSS

nic II.
---------

ale protože jsou spolu jako milenci,
princovy děti,
kterých je už asi 300 jej stále obtěžuucjí,
když chce jako lama vyhledat samotu a meditovat.
Ti mladší po měm lezou,
ti starší se jen nepozorovaně objevují v jeho komantách v rámci honičky smečky lvíčat a ptají se: když seš minich,
to nejseš jako princ a princ není převtělenejale narozneje a ty jsi převtěleneja prej si vládnul už jako dítě?
je rok po válce a Galimard dává do edičního plánu souborné vydání toho zločince.
Inelektuálov se houfují a píší prezidentuuu republiky.
Ano,
jsme ve francii,
jsi-li básník vše odpuštěno,
trestní rejstřík čistý,
pánové ta milost byla samozřejmost,
zhltal jsem životopis prostituta od pna Geneta a ten příběh o nacistivkém odstřelovači,
který je 15ti letý chlapec,
a ten milnec berlínckého kata,
samozřejmě,
já jsem jen hloupý prezident ale chápu a těším se,
i když vím,
že už nic nenapíše.

infantilní vztah k technice
jakmile překročíš hranice známého,
ocitáš se ve vakuu nevuslovitelna.

v normálním trestním právu platí promlčení.
Platí u u vraždy.
Drakonické tresty ve středověku platily obvykle jen v případě,
že se zločin stal nedávno.
Dnes jsou tresty zdánlivě mensší,
ale promlčení neexistuje.

ten ideální vstup je stále kupo divu klávesnice.

Scénaář performance:
=====================
1. text.md > mcfly.db
2. keyword: "nic" > basen.md
3. manual edit & cut to chuncks/posts
4. posted by mastodontsend.sh using toot commandline client

Using 3 neurons cli Schrodingerskatze.com derived from #mcfly shell history AI

#ZasifrovanyRoman
#AIpoetry
#CyberPoetry