Home Flight manual Ramblings Tags RSS

Flight manual for cli

Share and recover your Git stashes with ease

Git version 2.511 was released some week ago and is packed with upgrades to its plumbing and performance, with better indexes for some packfiles, noticeably improved fetch/push speed, deprecation2 of whatchanged and promotion of switch and restore out of experimental status (though checkout is not going anywhere).

Yet, to the diphasic3 end-user, the unassuming highlight of this release is the ability to share your stashes through your remote: let's check it out!

Continue reading →

Redirection 101: the very basics

  • 5-minute read
  • tagged cli, posix

Disclaimer: this article is tailored to those of us who are taking their first steps in the CLI.
A seasoned user is still likely to find some quite interesting information in the various notes, but the main focus of the article still is only meant to level the playing field in order to approach the everything is a file series.

Continue reading →

Useless use of cat

The signature of the shell-illiterate

Reproducible, isolated demonstrations

  • 2-minute read
  • tagged cli, docker

Earlier this week, I put together installation instructions for a syntax support package for Vim.

I have an idea how these things work and I'm fairly confident that -u NONE will get Vim to disregard my years of sensibly crafted configuration, but I wanted to go one step further: from zero to a working plug-in, undoubtedly reproducible on any machine.

Continue reading →

Getting to know column, cut and paste

Grids, lists, and other horizontally split what-have-yous, from the CLI

Script-friendliest $EDITOR with moreutils

  • 6-minute read
  • tagged cli, vim

I carry around a (very humble) collection of fzf utilities, where I intend to leverage a tacit promise of Vim: I can edit content, right there in the terminal, between two commands, and be done earlier than a corporate IDE would be flashing its splash screen1.

But let's put aside the speed: I mean to talk about the availability and convenience.

With moreutils, this elevator pitch needs to be challenged: between two commands? Laughable. The adept functional programmer in me should have sniffed it out some time ago: I can use Vim like I use sed.

Continue reading →