Topic

Terminal

Discover terminal tooling covering shell configuration, command-line productivity, and terminal tools. Our digest summarizes shell workflows, keyboard shortcuts, and terminal multiplexers from Hacker News and Lobsters.

What this topic tracks

  • Developer tool releases and ecosystem updates
  • Workflow automation and productivity practices
  • Practical setup, debugging, and integration lessons

Terminal · 157 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

17 stories

Easily write Bash with a transpiler

fosdem.org · 1 Feb

Linux · Shell · Terminal

Amber Lang is an experimental programming language designed to streamline the creation of shell scripts by transpiling directly into Bash.

While Bash is the industry standard for automation, its often cryptic syntax and lack of robust error handling can lead to maintenance challenges in complex environments. Amber solves these problems by providing a modern, readable syntax inspired by contemporary languages, implementing basic typing, and offering structured control flow. Built using Rust, the ecosystem includes professional developer tools like an LSP and editor plugins. Remarkably, Amber maintains high compatibility by generating Bash code that runs on versions ranging from 3.2 to 5.3, allowing developers to leverage modern language features while ensuring their scripts remain portable across various Unix-like systems.

zopt: low-ceremony command line parsing for Zig

codeberg.org · 5 Sept

CLI · Programming Languages · Terminal

zopt is a lightweight Zig command-line argument parser using lazy, schema-on-read semantics: it scans argv only when queried.

It supports short and long flags, typed and repeatable options, defaults, unknown-argument detection, and positional arguments. As a thin wrapper around std.process.Args, it favors simplicity for small tools over schema validation and built-in help handling.

Did you notice the command error exit in the shell?

monzool.net · 10 Apr

Git · Shell · Terminal

The author shares a custom shell script for .zshrc that displays a visual 'GURU MEDITATION ERROR' banner in the terminal whenever a git command fails.

This utility helps developers notice errors more quickly after mistakenly running commands without proper flags, preventing accidental modifications to the wrong branches.

kitty 0.50.0

sw.kovidgoyal.net · 3 Nov

CLI · Terminal

kitty 0.50.0 adds docked windows, session restoration after logout, and named-workspace workflows for tabs.

It improves Wayland with native GNOME decorations and touchscreen support, expands custom shaders and the Graphics protocol, adds Program Status Protocol reporting and automatic color-theme handling, and refines layouts, resizing, input, sessions, and quick-access terminals. The release also delivers performance improvements and fixes numerous remote-control, terminal-emulation, platform, file-transfer, and security issues.

The shortest IPv6 addresses

ache.one · 6 Sept

Shell · Terminal

The author scans the shortest usable global-unicast IPv6 addresses—those formatted X::—as an equivalent to 1.1.1.1, using a fish script and ping.

Of about 8,192 candidates, four responded from a residential network; three more appeared from another network. Responses belonged to organizations including NKN, Cogent, xTom, Van Veen Beheer B.V., and Satsoft CC.

Kakoune code editor

kakoune.org · 18 Aug

Terminal · TUI

Kakoune supports collaborative editing by allowing multiple client windows to modify the same file simultaneously.

These windows can be managed independently by an X11 window manager or consolidated within a single terminal using Kakoune’s tmux support.

Repeating Ourselves Less with M4

nemin.hu · 31 Aug

Shell · Terminal · Operating Systems

The article demonstrates using OpenBSD’s m4 and sed to generate concise, reusable httpd.conf files.

Parameterized macros eliminate repeated server, TLS, header, redirect, and malicious-route rules, while sed restores commas lost during m4 expansion. The approach supports self-contained VPS administration and illustrates Unix pipelines, though careful handling of macro pitfalls is required.

A list of macOS defaults commands with demos

macos-defaults.com · 11 Sept

CLI · macOS · Terminal

A reference guide to macOS defaults explains how applications store preferences in domains such as NSGlobalDomain and how the defaults CLI reads, searches, types, and renames entries.

It catalogs commands for Dock, Finder, screenshots, Safari, input devices, Mission Control, and other apps, and invites GitHub contributions. Built with VitePress.

Pointing at the error: compiler-style diagnostics in uutils coreutils

uutils.org · 5 Sept

CLI · Linux · Terminal

uutils coreutils 0.11.0 introduces terminal-aware diagnostic reports for 28 utilities.

Instead of only showing one-line errors, parsers can echo the offending argument, mark the exact character or span with a caret, and provide syntax help. GNU compatibility is preserved for scripts, exit codes, localization, colors, and non-terminal output; UUTILS_DIAG controls rendering, and support is expanding.

eh: a minimalist vi-like editor

codeberg.org · 24 Aug

C · Terminal · TUI

eh is a minimalist vi-inspired terminal text editor written primarily in C, using the Buffer Gap method.

It supports UTF-8, cursor motions, editing, search and replacement, undo/redo, indentation, shell filtering, file operations, marks, and Unicode inspection. Built with Curses, it provides a compact command set while documenting terminal, encoding, and platform limitations.

a filename when none exists

daniel.haxx.se · 19 Aug

CLI · Terminal · Open Source

curl 8.10.0 improves `-O` (`--remote-name`) for URLs without filenames.

It now derives a name from the rightmost path directory, or falls back to `curl_response` when neither path nor filename exists. Query strings are ignored. Use `%{filename_effective}` to inspect the result, `-o` to choose a name, and `--no-clobber` to avoid overwriting files.

Why don't people use git properly?

deadsimpletech.com · 3 Jul

Git · Software Architecture · Terminal

Many developers struggle with Git, leading to poor practices like improper branching or relying on manual file uploads.

This issue stems from a lack of command-line familiarity and failing to grasp Git's value in deployment and risk management. Improving Git proficiency requires early educational integration and corporate commitment to teaching version control as a fundamental engineering practice.

Git fixup is magic (and Magit is too)

arialdomartini.github.io · 11 Apr

Git · Terminal

This guide explains how to create a custom Git alias, 'git fixup', which streamlines modifying past commits.

By leveraging 'git commit --fixup', 'git rebase --autosquash', and a dummy editor, you can automatically integrate updates into older commits without manual intervention. It also highlights how Magit provides a similar workflow within Emacs for easier history management.

Creating a Blog in Gemini://

brennan.day · 19 Sept

CLI · Terminal

Gemini is a minimal, TLS-based alternative Internet protocol using Gemtext instead of HTML, designed for focused, low-resource publishing.

This guide explains why to blog on Gemini, hosting platforms, capsule and gemlog organization, social interactivity via CGI and client certificates, recommended browsers and tools, and resources for communities, discovery, and self-hosting.

Why .tar.gz files can't be combined with cat

alexwlchan.net · 16 Sept

Python · Terminal

tar is a sequential archive format designed for tapes, with file metadata, fixed-size blocks, and an EOF marker. gzip is a stream compressor supporting concatenated members.

Therefore, cat-ing `.tar.gz` files leaves tar at the first EOF marker. Safely combine archives by reading members and writing a new `tar.gz` archive, as shown with Python’s `tarfile` module.

Where it came fromLobstersCreate a Snapbyte.dev digest and choose Terminal as one of your topics.Build your digest