Shell Tricks That Actually Make Life Easier (And Save Your Sanity)

Watch someone backspace 40 characters instead of pressing CTRL+W, and you’ll understand why this list exists. A collection of shell tricks-grouped by what works everywhere and what’s Bash/Zsh-speci...

Larvitz Blog

How to fix Shift+Tab zsh autocompletion triggers? #zsh

https://askubuntu.com/q/1565222/612

How to fix Shift+Tab zsh autocompletion triggers?

On macOS, I can press Shift + Tab to trigger autocompletion in the reverse direction, starting from the end of the results. I can activate this hotkey from anywhere in the autocompletion process, b...

Ask Ubuntu
So, after years of running Ubuntu as my daily driver, I thought I'd give CachyOS a try before Ubuntu's next LTS release in April. I have to say CachyOS+Gnome desktop is lightning fast! I've much to do but having removed FireFox, changed the default fish shell to zsh, installed & set up NeoMutt, PyRadio & the re-implimentation of 'TUI' (command line app for Mastodon) with 'tooi' (@ihabunek which is awesome!!), things are looking good so far! #cachyos #archlinux #neomutt #tooi #zsh

XC Manager v0.7.0 is officially out.

Cross-distro Zsh plugin and was recently added to the awesome-zsh-plugins list.

The engine uses fzf (Ctrl+G) to search your vaults and injects logic directly into your prompt buffer so you can tweak the command before hitting enter.

Repo: https://github.com/Rakosn1cek/xc-manager

#Zsh #Linux #OpenSource #ArchLinux #Terminal #Shell #SelfHosted

GitHub - Rakosn1cek/xc-manager: Small script to save your commands and descriptions

Small script to save your commands and descriptions - Rakosn1cek/xc-manager

GitHub

When I started looking in to how the #Zsh docs are built, I assumed I'd be looking at Texinfo sources, because the HTML docs say they're built from that.

But it's weirder: The Zsh documentation source is written in Yodl: ~~Yet Onother~~ Your Own Document Language <https://fbb-git.gitlab.io/yodl/>

Yodl V 4.05.01

Meteorology

Current weather in Donderskamp SR SA with the infinite power of wttr.in & the grace of lolcat(6) 🏳️‍🌈 wttr curl(1) & {ba{c{k{z{fi}}}}}sh

Background photograph is a Nature cloud scene composed with FL CIRC_POL and UV filters stacked using a Nikon prime lens

log

$ curl -v wttr.in/donderskamp|lolcat
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0* Host wttr.in:80 was resolved.

  • IPv6: (none)
  • IPv4: 5.9.243.187
  • Trying 5.9.243.187:80...
  • Connected to wttr.in (5.9.243.187) port 80
  • using HTTP/1.x> GET /donderskamp HTTP/1.1> Host: wttr.in> User-Agent: curl/8.14.1> Accept: />
  • Request completely sent off< HTTP/1.1 200 OK< Access-Control-Allow-Origin: *< Content-Length: 9316< Content-Type: text/plain; charset=utf-8< Date: Thu, 26 Mar 2026 16:33:51 GMT< { [8109 bytes data]100 9316 100 9316 0 0 1601 0 0:00:05 0:00:05 --:--:-- 2447
  • Connection #0 to host wttr.in left intactWeather report: donderskamp

`/"".-. Light rain shower
,_( ). +26(30) °C

/(() ↙ 17 km/h

‘ ‘ ‘ ‘ 10 km

‘ ‘ ‘ ‘ 1.2 mm

Note:

You should repeat the request with an interval of 8 then 60 secs when the server sends and empty response to curl, watch the LOG!

API

https://wttr.in

https://en.wikipedia.org/wiki/Bash_(Unix_shell)

https://gnu.org

https://directory.fsf.org/wiki/Bash

https://curl.se/

https://github.com/busyloop/lolcat

Z

#Weather #wttr #lolcat #curl #bash #csk #ksh #zsh #sh #fish #meteorology #environment #Physics #Chemistry #Mathematics #Lineair #algebra #technology #OpenSource #programming #POSIX

Looking at the changelog for the lastest update of atuin at the time https://github.com/atuinsh/atuin/releases/tag/v18.13.4 I've just noticed they're using AI.

⇒ Immediate removal of it in my shells.

As I was not using the sync between machines, the default history of my zsh (+oh-my-zsh) using the up arrow, or ctrl+r (using fzf) to search when not matching on the start of the command is *largely* enough for my use cases.

From time to time I was using the atuin filter to only show commands run from the current folder, but I can live without it, and I'm sure there's an easy way, yet still unknown to me, to do the same thing with the default history.

#atuin #noAI #zsh #omz #oh_my_zsh

Release 18.13.4 · atuinsh/atuin

Release Notes Bug Fixes (ai) Restore url-quote-magic for ? in zsh (#3304) Redirect tty0 when running setup (#3302) Call ensure_hub_session even if primary sync endpoint is self-hosted (#3301) Remo...

GitHub

Hello #Mastodon! First post here.

I've been developing mend: a Zsh-native recovery tool for #ArchLinux. It maps terminal exit codes to the Arch Wiki using #fzf.

v0.4.0 is live. Short demo video attached. (1/2)

#Linux #OpenSource #Zsh #TUI #SystemAdministration #AUR #Mend

Meteorology

Current weather in Donderskamp SR SA with the infinite power of wttr.in & the grace of lolcat(6) 🏳️‍🌈 wttr curl(1) & {ba{c{k{z{fi}}}}}sh

Background photograph is a Nature cloud scene composed with FL CIRC_POL and UV filters stacked using a Nikon prime lens

log

$ curl -v wttr.in/donderskamp|lolcat
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0* Host wttr.in:80 was resolved.

  • IPv6: (none)
  • IPv4: 5.9.243.1870 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0* Trying 5.9.243.187:80...
  • Connected to wttr.in (5.9.243.187) port 80
  • using HTTP/1.x> GET /donderskamp HTTP/1.1> Host: wttr.in> User-Agent: curl/8.14.1> Accept: />
  • Request completely sent off< HTTP/1.1 200 OK< Access-Control-Allow-Origin: *< Content-Length: 9389< Content-Type: text/plain; charset=utf-8< Date: Tue, 24 Mar 2026 16:47:50 GMT< { [2625 bytes data]100 9389 100 9389 0 0 1622 0 0:00:05 0:00:05 --:--:-- 2074
  • Connection #0 to host wttr.in left intactWeather report: donderskamp

`/"".-. Patchy rain nearby
,_( ). +26(29) °C

/(() ↙ 18 km/h

‘ ‘ ‘ ‘ 10 km

‘ ‘ ‘ ‘ 0.1 mm

Note:

Always remember to repeat the request with an interval of 8 then 60 secs when the server sends and empty response to curl, watch the LOG!

API

https://wttr.in

https://en.wikipedia.org/wiki/Bash_(Unix_shell)

https://gnu.org

https://directory.fsf.org/wiki/Bash

https://curl.se/

https://github.com/busyloop/lolcat

Z

#Weather #wttr #lolcat #curl #bash #csk #ksh #zsh #sh #fish #meteorology #environment #Physics #Chemistry #Mathematics #Lineair #algebra #technology #OpenSource #programming #POSIX

Meteorology

Current weather in Leonsberg SR SA with the massive power of wttr.in API

curl -v wttr.in/leonsberg_suriname|lolcat

& the infinite grace of lolcat(6) 🏳️‍🌈 wttr curl(1) & {ba{c{k{z{fi}}}}}sh [any shell you love]

Background photograph is Woman staring in Sunset composed in SR SA at the Marine Trap

log

$ curl -v wttr.in/leonsberg_suriname|lolcat
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0* Host wttr.in:80 was resolved.

  • IPv6: (none)
  • IPv4: 5.9.243.187
  • Trying 5.9.243.187:80...
  • Connected to wttr.in (5.9.243.187) port 80
  • using HTTP/1.x> GET /leonsberg_suriname HTTP/1.1> Host: wttr.in> User-Agent: curl/8.14.1> Accept: />
  • Request completely sent off< HTTP/1.1 200 OK< Access-Control-Allow-Origin: *< Content-Length: 9210< Content-Type: text/plain; charset=utf-8< Date: Mon, 23 Mar 2026 14:47:33 GMT< { [9210 bytes data]100 9210 100 9210 0 0 1046 0 0:00:08 0:00:08 --:--:-- 2032
  • Connection #0 to host wttr.in left intact
    Weather report: leonsberg_suriname

    \ / Partly cloudy
    _ /"".-. +30(33) °C

    _( ). ↙ 15 km/h

    /(__(_) 10 km

    0.0 mm

Notice

Do not forget to repeat the request with an interval of 8 then 60 secs when the server sends and empty response to curl, watch the LOG~

API

https://wttr.in

sources:

https://en.wikipedia.org/wiki/Bash_(Unix_shell)

https://gnu.org

https://directory.fsf.org/wiki/Bash

https://curl.se/

https://github.com/busyloop/lolcat

Z

#Weather #wttr #lolcat #curl #bash #csk #ksh #zsh #sh #fish #meteorology #environment #Physics #Chemistry #Mathematics #Lineair #algebra #technology #OpenSource #programming #POSIX