does anyone know how to force macos to use the computer name in the terminal?

I don't wanna be `zee@mac`! I am `zee@teensie` goddammit!

#Mac #Terminal #zsh

I really like the brace expansion(*) in #Zsh when I'm performing a file rename:

instead of executing a `mv very-long-file-name.ext very-long-file-name-with-some-modifications.ext`

I can just `mv very-long-file-name{,-with-some-modification}.ext` and the shell substitutes it with two filenames 🚀

works for any part of the filename, so if I just want to change the extension (to save a backup), then `mv filename.ext{,.backup}` will do the trick!

*: https://zsh.sourceforge.io/Doc/Release/Expansion.html#Brace-Expansion-1

14 Expansion (zsh)

14 Expansion (zsh)

Torna il mio popolare (?!?) format "Bash e biscotti", ovvero i miei piccoli sapevatelo di produttività quotidiana.

Vi capita di lavorare su più progetti e di perdere tempo a cercare comandi nella shell history? E premere su...su...su..su...su? Ecco questo è il modo con cui ho pensato di risolvere il problema: separare la #history di ZSH per progetto usando la root del repository #git. Ordinare la shell non è mai stato così pratico! #devops #zsh #shellhistory #shelltips

https://gabrielebaldassarre.com/devops/una-shell-history-per-ogni-progetto/

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