Ich wollte gerade im Testcontainer aufräumen, von Bash gewohnt, um eine Datei auszuschließen ist ja bekanntlich "rm -rf !(miau.txt)"

Nur funktioniert das nicht in ZSH. Da suchmaschint man sich blöd... Die Lösung ist simple:
Aktiviert erweiterte Globbing:
Zuerst diesen Befehl in ZSH
"setopt EXTENDED_GLOB"

Danach kann man eine einzelne Datei ausschließen mit:

"rm -rf ^miau.txt"

Um das permanent zu machen kann man natürlich den "setopt" zur .zshrc hinzufügen!

Quelle: https://gitgist.com/posts/shell-exclusion-globbing/

Bitte, gern geschehen!  

#zsh #bash

Zsh Globbing Exclusion Patterns: Mastering the ~ and ^ Operators

A guide to efficiently filtering files using Zsh's powerful exclusion patterns

Git Gist

Going barless and minimal: My journey to a zero-shell, keyboard-driven Hyprland setup

As you may know, I have been aiming for a no-bar, no-shell (Quickshell etc.) and no-heavy GUI setup for a while.

For a week now, I have not used Waybar, Rofi, Thunar, Overskride, nm-tui or Swaync, along with a few other apps that did not suit my lightweight, fanless laptop setup. In fact, I have completely removed all of them from my system.
#Linux #Hyprland #zsh #fzf #MinimalArchSetup #ArchLinux #Python

Meteorology Kwamalasemutu

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

Background photograph is a Clouds in FL scene composed with CIRC_POL FL and UV filters stacked using a Nikon zoom lens

log

$ curl --verbose wttr.in/kwamalasemutu|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* Host wttr.in:80 was resolved.

  • IPv6: (none)
  • IPv4: 5.9.243.187
  • Trying 5.9.243.187:80...0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to wttr.in (5.9.243.187) port 80
  • using HTTP/1.x> GET /kwamalasemutu 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: *< Cache-Control: public, max-age=600< Content-Type: text/plain; charset=utf-8< Date: Sat, 23 May 2026 15:11:48 GMT< Transfer-Encoding: chunked< { [2583 bytes data]100 9019 0 9019 0 0 7744 0 --:--:-- 0:00:01 --:--:-- 7748
  • Connection #0 to host wttr.in left intactWeather report: kwamalasemutu

`/"".-. Light rain shower
,_( ). +29(32) °C
/(() ← 6 km/h
‘ ‘ ‘ ‘ 10 km
‘ ‘ ‘ ‘ 1.2 mm

Location: Kwamalasemutu, Coeroeni, Sipaliwini, Suriname [2.3554503,-56.787836]

Note:

Remember to repeat the request with an interval of 12 then 54 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

You probably don't need Oh My Zsh

Why you might not need Oh My Zsh for your Zsh configuration.

Artem Golubin
Estuve probando #fishshell pero no me reconocía el #nvm, al final decidí volver a #zsh, el objetivo era simplificar las cosas pero se estaban complicando más que antes.

Somehow or another this one blog post about #zsh and #ohmyzsh alternatives was far and away the most popular article on my site. Even though it was pretty bare. Well, I revisited it, expanded it, and even added benchmarks.

https://magnus919.com/notes/oh-my-zsh-alternatives/

oh-my-zsh alternatives

oh-my-zsh is cool, but huge. There are genuine alternatives now, and the data on what actually matters for shell startup speed might surprise you.

Notes from the Rabbit Hole

Zsh Özel Alias'lar ve Fonksiyonlar 🧠

Terminalde sürekli aynı komutları (git, docker, sistem izleme) yazmaktan parmakları nasır tutan dostlar için Oh My Zsh özelleştirme rehberi yayında.

Alias ve akıllı parametreli fonksiyonların farklarını, mkcd veya sysinfo gibi pratik komut gruplarını ve açılış süresini optimize etme yollarını inceledim.

https://yuceltoluyag.github.io/oh-my-zsh-ozel-aliaslar-fonksiyonlar/

#zsh #terminal #productivity #devops

Oh My Zsh Özel Alias'lar ve Fonksiyonlar

Oh My Zsh'de özel alias'lar ve fonksiyonlar oluşturarak terminalinizi özelleştirin ve günlük işlerinizi hızlandırın.

Ortaya Karışık

Oh My Zsh Kurulumu ve Temel Ayarlar 🛠️

Düz bash terminalin dilsiz ve renksiz halinden yorulup terminali Zsh ile uçurmak isteyen yoldaşlar için sıfırdan kurulum rehberi yayında.

200+ tema ve 500+ eklenti (autosuggestions ve syntax-highlighting gibi) ile komut satırını baştan kurup yazım hatalarını anında yakalamayı bizzat deneyip anlattım.

https://yuceltoluyag.github.io/oh-my-zsh-kurulumu-temel-ayarlar/

#zsh #terminal #linux #opensource

Oh My Zsh Kurulumu ve Temel Ayarlar

Oh My Zsh'in kurulumu ve temel ayarlarının nasıl yapılacağını adım adım açıklıyoruz.

Ortaya Karışık
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
Clarification to #zsh documentation got merged, yay.