# zsh

Published articles for zsh.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Zsh: measure command durations with the time command, TIMEFMT, and REPORTTIME

DevFeed: [Zsh: measure command durations with the time command, TIMEFMT, and REPORTTIME](<https://devfeed.tech/articles/zsh-measure-command-durations-with-the-time-command-timefmt-and-reporttime-126493.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/11/09/zsh-time/>)

Author: Adam Johnson

Published: 2026-11-09T00:00:00Z

Content type: article

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [POSIX](<https://devfeed.tech/topics/posix.md>), [Bash](<https://devfeed.tech/topics/bash.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [cpu-time](<https://devfeed.tech/tags/cpu-time.md>), [posix](<https://devfeed.tech/tags/posix.md>), [time](<https://devfeed.tech/tags/time.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

Zsh's built-in `time` reports a command's user and system CPU time, CPU percentage, and elapsed time in one line; its figures have the same meanings as Bash's `real`, `user`, and `sys` values, though Bash formats them across three lines. CPU percentage can help indicate whether a command is computing or waiting, and values above 100% indicate use of multiple cores. Zsh reports pipeline commands separately; wrap a pipeline, multiple commands, a brace group, or a shell function in parentheses to time them together. Customize output with `TIMEFMT`, which can use different time precision and include resource statistics such as maximum memory. The `%M` memory unit differs by OS: the article reports kilobytes on macOS and megabytes on Linux due to a long-standing bug. Set `REPORTTIME` to report commands above a CPU-time threshold; commands that mostly wait may not trigger it.

### Source excerpt

time is a POSIX utility for timing commands. Most shells build it in, and Zsh's version has a lot more to offer than the one in Bash. Put time before a command to time it. For example, to time a Python script: $ time python example.py python example.py ...

## Zsh: glob case-insensitively with the (#i) glob flag and the no\_case\_glob option

DevFeed: [Zsh: glob case-insensitively with the (#i) glob flag and the no\_case\_glob option](<https://devfeed.tech/articles/zsh-glob-case-insensitively-with-the-i-glob-flag-and-the-no-case-glob-option-110591.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/30/zsh-case-insensitive-globbing/>)

Author: Adam Johnson

Published: 2026-10-30T00:00:00Z

Content type: article

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>)

Tags: [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

Zsh globs are case-sensitive by default, regardless of whether the filesystem is case-insensitive. For a single pattern, add `(#i)` where case-insensitive matching should begin; it applies through the rest of the pattern, including directory names. This glob flag requires `extended_glob`, which can be enabled in `~/.zshrc`. To make all globs case-insensitive, enable `no_case_glob`; this also matches directory names such as `Photos/` in `photos/*.jpg`. Enable `case_paths` as well if literal directory names should remain case-sensitive. The article notes that `set -o` reports options in their "no" form by default, so `nocaseglob off` indicates case-sensitive globbing.

### Source excerpt

By default, Zsh globs are case-sensitive, so *.jpg matches beach.jpg but not CAT.JPG or dog.Jpg: $ ls photos/*.jpg photos/beach.jpg This is true even on macOS, where the filesystem is case-insensitive by default. Zsh shares this behaviour with Bash, but provides per-glob and global controls to ...

## Zsh: uncover hidden files in globs with (D)

DevFeed: [Zsh: uncover hidden files in globs with (D)](<https://devfeed.tech/articles/zsh-uncover-hidden-files-in-globs-with-d-107281.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/29/zsh-d-glob-qualifier/>)

Author: Adam Johnson

Published: 2026-10-29T00:00:00Z

Content type: article

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [dotfiles](<https://devfeed.tech/topics/dotfiles.md>), [ls](<https://devfeed.tech/topics/ls.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [directories](<https://devfeed.tech/tags/directories.md>), [files](<https://devfeed.tech/tags/files.md>), [hidden](<https://devfeed.tech/tags/hidden.md>), [include](<https://devfeed.tech/tags/include.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

By default, Zsh globs skip names beginning with a dot. Add the `(D)` qualifier to include hidden files and directories; it does not match the special `.` or `..` entries. This matters with recursive `**/` globs: `**/*.yml` can miss YAML files under `.github`, while `**/*.yml(D)` includes them. Leaving `(D)` off can also be useful: `**/*.py` skips a hidden virtual-environment directory such as `.venv`, whereas `**/*.py(D)` includes its files.

### Source excerpt

By default, Zsh globs skip hidden files and directories, meaning those with names starting with a dot. For example, in a project directory, * misses all the configuration files and directories: $ ls -d * README.rst generate_pigeon.py To include them, add the (D) glob qualifier, which stands for "dot files": $ ls ...

## Zsh: parse command-line options with zparseopts

DevFeed: [Zsh: parse command-line options with zparseopts](<https://devfeed.tech/articles/zsh-parse-command-line-options-with-zparseopts-105876.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/28/zsh-zparseopts/>)

Author: Adam Johnson

Published: 2026-10-28T00:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [argument](<https://devfeed.tech/tags/argument.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [array](<https://devfeed.tech/tags/array.md>), [bash](<https://devfeed.tech/tags/bash.md>), [code](<https://devfeed.tech/tags/code.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [function](<https://devfeed.tech/tags/function.md>), [git](<https://devfeed.tech/tags/git.md>), [help](<https://devfeed.tech/tags/help.md>), [options](<https://devfeed.tech/tags/options.md>), [scripts](<https://devfeed.tech/tags/scripts.md>), [shell](<https://devfeed.tech/tags/shell.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

Zsh's `zparseopts` handles short and long command-line options, including options with arguments, and stores parsed values in arrays. The excerpt's `caw` example uses `-D` to remove options from positional parameters, `-E` to allow options after positional arguments, and `-F` to reject unknown options or missing arguments; parsing errors can trigger a usage message, which must be maintained by hand. Options taking arguments use `:`, and repeated values can be read from the array (the example uses the last one); `+` makes an option accumulate. Unlike some command-line parsers, `zparseopts` does not treat `=` specially in `--number=3`, so the equals sign becomes part of the argument and must be stripped explicitly if that form is supported.

### Source excerpt

Sometimes you want your shell scripts to take options, like --verbose or --help, along with any positional arguments. Handling options is fiddly to do by hand, with the traditional portable approach being a large block of code using a while loop, a case statement, and some shifts. Bash has ...

## Zsh: set aside a command with "Escape Q" / push-line

DevFeed: [Zsh: set aside a command with "Escape Q" / push-line](<https://devfeed.tech/articles/zsh-set-aside-a-command-with-escape-q-push-line-66445.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/06/zsh-push-line/>)

Author: Adam Johnson

Published: 2026-10-05T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [branch](<https://devfeed.tech/tags/branch.md>), [checkout](<https://devfeed.tech/tags/checkout.md>), [dx](<https://devfeed.tech/tags/dx.md>), [git](<https://devfeed.tech/tags/git.md>), [pytest](<https://devfeed.tech/tags/pytest.md>), [test](<https://devfeed.tech/tags/test.md>), [tests](<https://devfeed.tech/tags/tests.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

The article explains how Zsh's `push-line` widget temporarily saves a command so you can run a setup command first and resume the original command at the next prompt. It recommends binding Escape Q to `push-line-or-edit`, which also handles multiline commands, and describes related Oh My Zsh shortcuts.

### Source excerpt

Do you ever do this? You carefully type out a command, like this pytest one: $ pytest tests/test_checkout.py -k discount --reuse-db -x ...then, just before pressing Enter, you remember that something will stop it from succeeding, like being on the wrong Git branch. What now? Maybe you run the ...

## Zsh: tab complete glob qualifiers

DevFeed: [Zsh: tab complete glob qualifiers](<https://devfeed.tech/articles/zsh-tab-complete-glob-qualifiers-64270.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/02/zsh-glob-qualifier-completion/>)

Author: Adam Johnson

Published: 2026-10-02T18:50:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [friendly interactive shell](<https://devfeed.tech/topics/fish.md>)

Tags: [completion](<https://devfeed.tech/tags/completion.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

Zsh provides tab completion inside glob qualifier parentheses, listing available qualifiers and their descriptions. Further Tab presses can show sort specifiers and filename modifiers. The completion system is enabled by default in many setups; if it is not working, the article suggests enabling it with compinit in ~/.zshrc.

### Source excerpt

I've written a few posts on Zsh's glob qualifiers recently, covering: (om[1]) to select the most recently modified file. (m0) to select files modified today. (e) and + to select files with arbitrary code. (OL) to find the largest files. (n) to sort in natural order. These single-character ...

## Zsh: sort globs in natural order with the (n) glob qualifier

DevFeed: [Zsh: sort globs in natural order with the (n) glob qualifier](<https://devfeed.tech/articles/zsh-sort-globs-in-natural-order-with-the-n-glob-qualifier-62975.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/09/30/zsh-n-glob-qualifier/>)

Author: Adam Johnson

Published: 2026-09-29T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>)

Tags: [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

The article explains how to use Zsh's n glob qualifier to sort filenames in natural numeric order. It demonstrates fixing the page order when combining numbered PNG files into a PDF with ImageMagick and mentions enabling natural ordering by default.

### Source excerpt

Globs sort filenames character by character, so numbered files often come out in a surprising order, with 10 before 2. Zsh has a neat fix for this: the n glob qualifier, which applies a "natural" sort, treating any run of digits as a number rather than a string of characters ...

## MacSync info-stealing malware hides malicious commands in an iCloud calendar

DevFeed: [MacSync info-stealing malware hides malicious commands in an iCloud calendar](<https://devfeed.tech/articles/macsync-info-stealing-malware-hides-malicious-commands-in-an-icloud-calendar-59882.md>)

Original publisher: [Read original article](<https://www.helpnetsecurity.com/2026/09/25/macsync-info-stealing-malware-for-macos/>)

Author: Sinisa Markovic

Published: 2026-09-25T09:22:45Z

Content type: news

Language: en

Sources: [Help Net Security](<https://devfeed.tech/sources/help-net-security.md>)

Topics: [Malware](<https://devfeed.tech/topics/malware.md>), [Security](<https://devfeed.tech/topics/security.md>), [backdoor](<https://devfeed.tech/topics/backdoor.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [file](<https://devfeed.tech/topics/file.md>), [Objective-C](<https://devfeed.tech/topics/objective-c.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [apple](<https://devfeed.tech/tags/apple.md>), [backdoor](<https://devfeed.tech/tags/backdoor.md>), [clickfix](<https://devfeed.tech/tags/clickfix.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [crypto](<https://devfeed.tech/tags/crypto.md>), [data](<https://devfeed.tech/tags/data.md>), [files](<https://devfeed.tech/tags/files.md>), [kaspersky](<https://devfeed.tech/tags/kaspersky.md>), [mac](<https://devfeed.tech/tags/mac.md>), [macos](<https://devfeed.tech/tags/macos.md>), [malware](<https://devfeed.tech/tags/malware.md>), [news](<https://devfeed.tech/tags/news.md>), [objective-c](<https://devfeed.tech/tags/objective-c.md>), [september-2026](<https://devfeed.tech/tags/september-2026.md>), [server](<https://devfeed.tech/tags/server.md>), [shell](<https://devfeed.tech/tags/shell.md>), [swift](<https://devfeed.tech/tags/swift.md>), [telegram](<https://devfeed.tech/tags/telegram.md>), [x](<https://devfeed.tech/tags/x.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

A MacSync malware variant for macOS uses a more complex infection chain involving binary droppers and loaders. In one campaign, malicious commands were hidden in a public iCloud calendar and used to download additional payloads. The malware targets credentials, cryptocurrency wallet data, and files.

### Source excerpt

A new MacSync variant targets Mac users with an infostealer and persistent backdoor designed to steal credentials, crypto wallet data, and files, according to Kaspersky. Researchers found the malware spreading through a crypto wallet app called Toria, which had its own website and was promoted on X and Telegram. MacSync is a family of Mac malware that emerged in 2025 as Mac.c and was later renamed. Early versions used AppleScripts that closely resembled the AMOS ... More -> The post MacSync info-stealing malware hides malicious commands in an iCloud calendar appeared first on Help Net Security.

## Zsh: find the largest files with the (OL) glob qualifier

DevFeed: [Zsh: find the largest files with the (OL) glob qualifier](<https://devfeed.tech/articles/zsh-find-the-largest-files-with-the-ol-glob-qualifier-57703.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/09/21/zsh-ol-glob-qualifiers/>)

Author: Adam Johnson

Published: 2026-09-20T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Repository](<https://devfeed.tech/topics/repository.md>), [Django](<https://devfeed.tech/topics/django.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [django](<https://devfeed.tech/tags/django.md>), [repository](<https://devfeed.tech/tags/repository.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

A tutorial on using Zsh glob qualifiers to find and sort the largest files recursively. It demonstrates the technique with the Django source repository and explains qualifiers for file selection, size thresholds, sorting, and limiting results.

### Source excerpt

Got a directory that you want to tidy up bloat from? Whether you're trying to find bad build artifacts in your work repository or clear out old cat videos from your home directory, Zsh's (OL) glob qualifier can help you find the largest files. Using the Django source ...

## Stars ✨

DevFeed: [Stars ✨](<https://devfeed.tech/articles/stars-37876.md>)

Original publisher: [Read original article](<https://carlosbecker.com/stars/>)

Author: Carlos Alexandro Becker

Published: 2026-09-17T09:27:40.952416Z

Content type: article

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [Repository](<https://devfeed.tech/topics/repository.md>), [Zig](<https://devfeed.tech/topics/zig.md>), [Zsh](<https://devfeed.tech/topics/zsh.md>), [Ruby on Rails](<https://devfeed.tech/topics/ruby-on-rails.md>), [macOS](<https://devfeed.tech/topics/macos.md>)

Tags: [macos](<https://devfeed.tech/tags/macos.md>), [rails](<https://devfeed.tech/tags/rails.md>), [repositories](<https://devfeed.tech/tags/repositories.md>), [repository](<https://devfeed.tech/tags/repository.md>), [zig](<https://devfeed.tech/tags/zig.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

A more-or-less updated list of repository stars across goreleaser, caarlos0, and archived repositories. The page reports 36,404 total stars across 291 repositories.

### Source excerpt

More-or-less updated list of stars on some repositories I work on: goreleaser Repository Stars goreleaser/goreleaser 16052 goreleaser/nfpm 2642 goreleaser/goreleaser-action 1035 goreleaser/chglog 283 goreleaser/goreleaser-cross 193 goreleaser/example-zig-cgo 134 goreleaser/goreleaser-pro 75 goreleaser/fileglob 71 goreleaser/example-supply-chain 61 (40 other repositories with <50 stars) 221 - 20767 caarlos0 Repository Stars caarlos0/env 6309 caarlos0/starcharts 1422 caarlos0/svu 872 caarlos0/dotfiles 221 caarlos0/log 65 caarlos0/pinata 63 (23 other repositories with <50 stars) 216 - 9168 caarlos0-graveyard Repository Stars (2 other repositories with <50 stars) 0 - 0 Archived Repository Stars caarlos0/dotfiles.zsh 702 caarlos0/timer 640 caarlos0-graveyard/nprogress-rails 511 caarlos0/tasktimer 454 goreleaser/godownloader 447 caarlos0/fork-cleaner 371 caarlos0/domain_exporter 346 caarlos0/dotfiles.fish 307 caarlos0/org-stats 245 caarlos0-graveyard/up 140 caarlos0/jsonfmt 113 caarlos0/twitter-cleaner 97 caarlos0-graveyard/jvm 82 caarlos0/clone-org 80 caarlos0/mdtree 70 caarlos0-graveyard/spin 70 caarlos0-graveyard/macOS 70 caarlos0-graveyard/zsh-open-pr 64 caarlos0/parttysh 58 caarlos0/httperr 55 caarlos0/speedtest-exporter 54 caarlos0-graveyard/watchub 54 (189 other repositories with <50 stars) 1439 - 6469 Total: 36404 stars in 291 repositories

## Atomic macOS (AMOS) Stealer Activity

DevFeed: [Atomic macOS (AMOS) Stealer Activity](<https://devfeed.tech/articles/atomic-macos-amos-stealer-activity-30906.md>)

Original publisher: [Read original article](<https://unit42.paloaltonetworks.com/atomic-macos-amos-stealer-activity/>)

Author: Bradley Duncan

Published: 2026-09-16T10:00:06Z

Content type: article

Language: en

Sources: [Unit 42](<https://devfeed.tech/sources/unit-42.md>)

Topics: [Malware](<https://devfeed.tech/topics/malware.md>), [Aeternum](<https://devfeed.tech/topics/aeternum.md>), [macOS](<https://devfeed.tech/topics/macos.md>), [sensitive data](<https://devfeed.tech/topics/sensitive-data.md>), [Zsh](<https://devfeed.tech/topics/zsh.md>), [ClickFix](<https://devfeed.tech/topics/clickfix.md>), [cURL](<https://devfeed.tech/topics/curl.md>)

Tags: [ads](<https://devfeed.tech/tags/ads.md>), [clickfix](<https://devfeed.tech/tags/clickfix.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [cryptocurrency](<https://devfeed.tech/tags/cryptocurrency.md>), [curl](<https://devfeed.tech/tags/curl.md>), [general](<https://devfeed.tech/tags/general.md>), [insights](<https://devfeed.tech/tags/insights.md>), [macos](<https://devfeed.tech/tags/macos.md>), [malware](<https://devfeed.tech/tags/malware.md>), [sensitive-data](<https://devfeed.tech/tags/sensitive-data.md>), [threat-intelligence](<https://devfeed.tech/tags/threat-intelligence.md>), [unit-42](<https://devfeed.tech/tags/unit-42.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

This article analyzes a laboratory-generated Atomic macOS (AMOS) stealer infection observed on Aug. 5, 2026. It describes a deceptive macOS toolkit installation page that led users to paste a command into Terminal, retrieving a Zsh script containing an encoded compressed payload and a follow-up script designed to run a Mach-O binary. AMOS targets macOS and can exfiltrate system information, login credentials, and sensitive data from applications including browsers and cryptocurrency wallets.

### Source excerpt

Modern macOS malware uses deceptive setup guides to steal credentials and sensitive user data. Learn how to identify and block these threats. The post Atomic macOS (AMOS) Stealer Activity appeared first on Unit 42.

## BleachBit 6.0.4 brings faster scanning, better browser cleaning

DevFeed: [BleachBit 6.0.4 brings faster scanning, better browser cleaning](<https://devfeed.tech/articles/bleachbit-6-0-4-brings-faster-scanning-better-browser-cleaning-48074.md>)

Original publisher: [Read original article](<https://www.omgubuntu.co.uk/2026/09/bleachbit-6-0-4-update>)

Author: Joey Sneddon

Published: 2026-09-09T16:54:24Z

Content type: release

Language: en

Sources: [OMG! Ubuntu](<https://devfeed.tech/sources/omg-ubuntu.md>)

Topics: [Open Source](<https://devfeed.tech/topics/open-source.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Operating system](<https://devfeed.tech/topics/operating-system.md>), [releases](<https://devfeed.tech/topics/releases.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [android-studio](<https://devfeed.tech/tags/android-studio.md>), [app-updates](<https://devfeed.tech/tags/app-updates.md>), [bleachbit](<https://devfeed.tech/tags/bleachbit.md>), [cli](<https://devfeed.tech/tags/cli.md>), [github](<https://devfeed.tech/tags/github.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [linux](<https://devfeed.tech/tags/linux.md>), [news](<https://devfeed.tech/tags/news.md>), [operating-system](<https://devfeed.tech/tags/operating-system.md>), [python](<https://devfeed.tech/tags/python.md>), [system-tools](<https://devfeed.tech/tags/system-tools.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

BleachBit 6.0.4 is an open-source system cleaning tool release adding early macOS support, Safari cleaning, a CLI and GUI, faster startup and scanning on Windows and Linux, and new cleaners for developer tools and shells. It also improves browser, package-manager, memory, and systemd-related handling.

### Source excerpt

A new version of BleachBit, an open-source system cleaning tool, is out. BleachBit 6.0.4 brings everything I mentioned in my spot on the BleachBit 6.0.4 beta release, including macOS support for the first time - albeit in an early state, and including a Cleaner for Safari and a choice of the (neat) BleachBit CLI or an early GUI. Windows and Linux users all benefit from faster startup times and scanning speeds, and gain new cleaners for Android Studio, Gradle's cache, fish and Zsh shells and Python CLI. Top-level log files are cleared by the Claude cleaner, and browser "super cookies" [...] You're reading BleachBit 6.0.4 brings faster scanning, better browser cleaning, a blog post from OMG! Ubuntu. Do not reproduce elsewhere without permission.

## Determining if your branch is part of a GitHub Stacked PR

DevFeed: [Determining if your branch is part of a GitHub Stacked PR](<https://devfeed.tech/articles/determining-if-your-branch-is-part-of-a-github-stacked-pr-53099.md>)

Original publisher: [Read original article](<https://www.jvt.me/posts/2026/08/26/zsh-stacked-pr/>)

Author: Jamie Tanna

Published: 2026-08-26T14:41:41Z

Content type: tutorial

Language: en

Sources: [Jamie Tanna](<https://devfeed.tech/sources/articles-on-jamie-tanna-software-engineer.md>)

Topics: [GitHub](<https://devfeed.tech/topics/github.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>), [Git](<https://devfeed.tech/topics/git.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Zsh](<https://devfeed.tech/topics/zsh.md>), [file](<https://devfeed.tech/topics/file.md>), [Repository](<https://devfeed.tech/topics/repository.md>)

Tags: [blogumentation](<https://devfeed.tech/tags/blogumentation.md>), [branch](<https://devfeed.tech/tags/branch.md>), [git](<https://devfeed.tech/tags/git.md>), [github](<https://devfeed.tech/tags/github.md>), [jq](<https://devfeed.tech/tags/jq.md>), [position](<https://devfeed.tech/tags/position.md>), [shell-scripting](<https://devfeed.tech/tags/shell-scripting.md>), [stacked-prs](<https://devfeed.tech/tags/stacked-prs.md>), [sync](<https://devfeed.tech/tags/sync.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

A post explains how to detect whether the current Git branch belongs to a GitHub stacked pull request and display its position in a zsh prompt. It uses cached stack data and notes that the display can become stale until GitHub's stack synchronization command is run.

### Source excerpt

🤖 This post includes some LLM-derived content 🤖 Since the availability of GitHub's Stacked PRs finally landing for repositories that use a Merge Queue, I've been "kicking the tyres" with some of my contributions to Renovate. They're working mostly well so far, but I'm finding it a bit annoying trying to remember if I'm on a branch that's part of a stack. I'd started wiring this into my zsh config, still using Grml's zsh config as a base, and found it was a bit awkward. I decided to outsource it to Claude Sonnet 5 - cause I guess that's the sort of person I am now? 😅 - and it came out with this: # in case you're working in a Git worktree git_common_dir="$(git rev-parse --git-dir >/dev/null)" stack_file="$git_common_dir/gh-stack" position="$(jq -r --arg b "$(git branch --show-current)" ' .stacks[] | select(.branches[]?.branch == $b) | (.branches | map(.branch)) as $names | ($names | index($b)) as $idx | "\($idx + 1)/\($names | length)" ' "$stack_file" 2>/dev/null | head -n1)" echo "$position" # outputs i.e. `x/y` or `` if not in a stack I end up wiring this into my zsh prompt to show a 🥞 1/3 indicator like so: This works quite nicely, but I've found that it doesn't always stay in sync with GitHub. If a branch has been merged, but you've not yet run gh stack sync, you'll show as still on a stack. However, you can't run gh stack sync without being on a stacked branch, so your cached data may be out-of-sync until that's fixed.

## Zsh: manipulate filenames with modifiers like :r (root) and :e (extension)

DevFeed: [Zsh: manipulate filenames with modifiers like :r (root) and :e (extension)](<https://devfeed.tech/articles/zsh-manipulate-filenames-with-modifiers-like-r-root-and-e-extension-51101.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/08/24/zsh-filename-modifiers/>)

Author: Adam Johnson

Published: 2026-08-23T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Code](<https://devfeed.tech/topics/code.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [ImageMagick](<https://devfeed.tech/topics/imagemagick.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [build](<https://devfeed.tech/tags/build.md>), [command](<https://devfeed.tech/tags/command.md>), [files](<https://devfeed.tech/tags/files.md>), [imagemagick](<https://devfeed.tech/tags/imagemagick.md>), [images](<https://devfeed.tech/tags/images.md>), [loops](<https://devfeed.tech/tags/loops.md>), [variable](<https://devfeed.tech/tags/variable.md>), [variables](<https://devfeed.tech/tags/variables.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

A tutorial on using Zsh filename modifiers such as :r for removing extensions and :e for extracting them, including chaining modifiers and applying them in a loop that converts PNG images to WebP with ImageMagick.

### Source excerpt

Zsh modifiers are a family of suffixes that transform words as they're expanded. Several of them are dedicated to slicing up filenames, replacing fiddly calls to dirname, basename, and friends. Let's take a look at them now! The filename modifiers Four modifiers cover most filename manipulation. Take this ...

## Zsh 'illegal modifier' with Git Conventional Commits

DevFeed: [Zsh 'illegal modifier' with Git Conventional Commits](<https://devfeed.tech/articles/zsh-illegal-modifier-with-git-conventional-commits-27738.md>)

Original publisher: [Read original article](<https://gagor.pro/2025/12/zsh-illegal-modifier-with-git-conventional-commits/>)

Author: Tom

Published: 2025-12-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Git](<https://devfeed.tech/topics/git.md>)

Tags: [command-line-tip](<https://devfeed.tech/tags/command-line-tip.md>), [commit](<https://devfeed.tech/tags/commit.md>), [conventional-commits](<https://devfeed.tech/tags/conventional-commits.md>), [errors](<https://devfeed.tech/tags/errors.md>), [fzf](<https://devfeed.tech/tags/fzf.md>), [git](<https://devfeed.tech/tags/git.md>), [git-commit-error](<https://devfeed.tech/tags/git-commit-error.md>), [github-action](<https://devfeed.tech/tags/github-action.md>), [history-expansion](<https://devfeed.tech/tags/history-expansion.md>), [linux](<https://devfeed.tech/tags/linux.md>), [macos](<https://devfeed.tech/tags/macos.md>), [no-bang-hist](<https://devfeed.tech/tags/no-bang-hist.md>), [shell-configuration](<https://devfeed.tech/tags/shell-configuration.md>), [zsh](<https://devfeed.tech/tags/zsh.md>), [zsh-bang-history](<https://devfeed.tech/tags/zsh-bang-history.md>)

### AI overview

This tutorial explains how Zsh history expansion can cause "illegal modifier" errors when using Git Conventional Commits. It shows how disabling the NO_BANG_HIST option allows bang characters to be used in quoted commit messages.

### Source excerpt

Fix ZSH 'illegal modifier' errors with Git Conventional Commits by disabling the NO_BANG_HIST option.

## Nushell, after 8 months

DevFeed: [Nushell, after 8 months](<https://devfeed.tech/articles/nushell-after-8-months-31883.md>)

Original publisher: [Read original article](<https://okmanideep.me/nushell-after-8-months/>)

Author: Manideep Polireddi

Published: 2024-04-29T11:15:00Z

Content type: article

Language: en

Sources: [@okmanideep](<https://devfeed.tech/sources/okmanideep.md>)

Topics: [Shell](<https://devfeed.tech/topics/shell.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [cli](<https://devfeed.tech/tags/cli.md>), [csv](<https://devfeed.tech/tags/csv.md>), [json](<https://devfeed.tech/tags/json.md>), [nushell](<https://devfeed.tech/tags/nushell.md>), [powershell](<https://devfeed.tech/tags/powershell.md>), [shell](<https://devfeed.tech/tags/shell.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [yaml](<https://devfeed.tech/tags/yaml.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

The author reflects on using Nushell as their primary shell for eight months. They find its table-based structured data model useful for CLI work, data wrangling, Kubernetes commands, and processing formats such as CSV, JSON, YAML, TOML, and SQLite, while reporting few problems interoperating with Unix programs that expect plain text.

### Source excerpt

I have been using nushell as my primary shell for the last 8 months and I don't see myself going back to bash or zsh or powershell

## The power of extensive command history in Bash and Zsh

DevFeed: [The power of extensive command history in Bash and Zsh](<https://devfeed.tech/articles/the-power-of-extensive-command-history-in-bash-and-zsh-27706.md>)

Original publisher: [Read original article](<https://gagor.pro/2024/03/the-power-of-extensive-command-history-in-bash-and-zsh/>)

Author: Tom

Published: 2024-03-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Terminal](<https://devfeed.tech/topics/terminal.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Script](<https://devfeed.tech/topics/script.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [bash-history](<https://devfeed.tech/tags/bash-history.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [extensive-command-history](<https://devfeed.tech/tags/extensive-command-history.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-shell-tips](<https://devfeed.tech/tags/linux-shell-tips.md>), [macos](<https://devfeed.tech/tags/macos.md>), [macos-shell-tips](<https://devfeed.tech/tags/macos-shell-tips.md>), [productivity](<https://devfeed.tech/tags/productivity.md>), [shortcuts](<https://devfeed.tech/tags/shortcuts.md>), [terminal](<https://devfeed.tech/tags/terminal.md>), [terminal-productivity](<https://devfeed.tech/tags/terminal-productivity.md>), [zsh](<https://devfeed.tech/tags/zsh.md>), [zsh-history](<https://devfeed.tech/tags/zsh-history.md>)

### AI overview

This tutorial explains how to maintain and search extensive command history in Bash and Zsh to reduce repeated command lookups and improve terminal efficiency. It discusses history recall, fuzzy finding, and configuration considerations such as overly aggressive deduplication.

### Source excerpt

Learn how to leverage extensive command history in Bash and Zsh to improve your efficiency and productivity in the terminal.

## This year I shall Simplify

DevFeed: [This year I shall Simplify](<https://devfeed.tech/articles/this-year-i-shall-simplify-25329.md>)

Original publisher: [Read original article](<https://kau.sh/blog/simplify/>)

Author: Kaushik Gopal

Published: 2023-04-22T22:53:13Z

Content type: opinion

Language: en

Sources: [Kaushik Gopal's Site](<https://devfeed.tech/sources/kaushik-gopal-s-site.md>)

Topics: [Tool](<https://devfeed.tech/topics/tool.md>), [To-Do](<https://devfeed.tech/topics/todo.md>), [Obsidian](<https://devfeed.tech/topics/obsidian-md.md>), [friendly interactive shell](<https://devfeed.tech/topics/fish.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>), [Vim](<https://devfeed.tech/topics/vim.md>), [Terminal](<https://devfeed.tech/topics/terminal.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>)

Tags: [android-studio](<https://devfeed.tech/tags/android-studio.md>), [automation](<https://devfeed.tech/tags/automation.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [fish](<https://devfeed.tech/tags/fish.md>), [functions](<https://devfeed.tech/tags/functions.md>), [intellij](<https://devfeed.tech/tags/intellij.md>), [macros](<https://devfeed.tech/tags/macros.md>), [obsidian](<https://devfeed.tech/tags/obsidian.md>), [plugin](<https://devfeed.tech/tags/plugin.md>), [productivity](<https://devfeed.tech/tags/productivity.md>), [scripts](<https://devfeed.tech/tags/scripts.md>), [simplify](<https://devfeed.tech/tags/simplify.md>), [terminal](<https://devfeed.tech/tags/terminal.md>), [tmux](<https://devfeed.tech/tags/tmux.md>), [tools](<https://devfeed.tech/tags/tools.md>), [url](<https://devfeed.tech/tags/url.md>), [vim](<https://devfeed.tech/tags/vim.md>), [vscode](<https://devfeed.tech/tags/vscode.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

To reduce the complexity and productivity cost of maintaining overlapping tools, the author is consolidating several workflows. Obsidian now handles both notes and tasks, with a plugin making it effective enough to replace Things 3. Terminal.app replaces iTerm; the author had relied mainly on horizontal splits and returned to tmux for those. Switching from fish to zsh took the most work because scripts and functions needed porting, but zsh is the default on new Macs. Raycast is intended to replace Alfred, Pastebot and much of Keyboard Maestro through extensible snippets and URL searches; Keyboard Maestro remains for occasional macros. The author is also gradually moving from VSCode to Vim and JetBrains editors, which they use more often and prefer for editing. The excerpt says more details will follow.

### Source excerpt

I'm always trying out new tools to make my life easier. In a cruel twist of irony however, I've found myself customizing and maintaining multiple tools leading to unnecessary complexity and a hit in productivity. So this year, I've made a resolution to simplify and eliminate redundant tools. Nothing is safe from the chopping block! Here are some of the major transitions I've made or plan to make, and I'll be sharing more about each of them in upcoming posts. Things 3 -> Obsidian Notes ## This one surprised me the most. I switched from Things 3 as my Todo app and Obsidian for my notes to using Obsidian for both. While Things 3 has a beautiful UI, I discovered that I could use Obsidian as effectively (if not more) to get things done with the addition of one plugin. Stay tuned for a detail write up on this one. iTerm -> Terminal ## Next, I switched from iTerm to Terminal. This transition was easy since I wasn't relying too heavily on iTerm customizations anyway. The big reason I used iTerm was mostly just for horizaontal split tabs. I dusted off my tmux skills and now am back to just using Terminal.app. fish -> zsh ## Moving from fish to zsh -- on the other hand -- was the most challenging transition since I had years of accumulated scripts and functions that I had to painstakingly port over to zsh. However, I'm happy I made the change since zsh is the default on a new Mac, making it easier to use across different devices. Alfred + Keyboard Maestro (+ Pastebot) -> Raycast ## As an avid user of Alfred and Keyboard Maestro, I was hesitant to switch to Raycast. But after watching a video on its capabilities, I realized that Raycast could replace several of the tools I was using. I was particularly impressed by how easy it was to expand its functionality and add new snippets or quick URL searches. Keyboard Maestro is going to be around for those quick automation macros but I'm going to try and not have it running constantly. More for one-off automation jobs. VSCode -> (Neo)Vim (&

## Magic enter command for (fish/zsh) shell

DevFeed: [Magic enter command for (fish/zsh) shell](<https://devfeed.tech/articles/magic-enter-command-for-fish-zsh-shell-25285.md>)

Original publisher: [Read original article](<https://kau.sh/blog/magic-enter-shell/>)

Author: Kaushik Gopal

Published: 2022-07-23T19:50:31Z

Content type: tutorial

Language: en

Sources: [Kaushik Gopal's Site](<https://devfeed.tech/sources/kaushik-gopal-s-site.md>)

Topics: [friendly interactive shell](<https://devfeed.tech/topics/fish.md>), [Zsh](<https://devfeed.tech/topics/zsh.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [automatically](<https://devfeed.tech/tags/automatically.md>), [command](<https://devfeed.tech/tags/command.md>), [commands](<https://devfeed.tech/tags/commands.md>), [directory](<https://devfeed.tech/tags/directory.md>), [files](<https://devfeed.tech/tags/files.md>), [fish](<https://devfeed.tech/tags/fish.md>), [git](<https://devfeed.tech/tags/git.md>), [key](<https://devfeed.tech/tags/key.md>), [repo](<https://devfeed.tech/tags/repo.md>), [repository](<https://devfeed.tech/tags/repository.md>), [root](<https://devfeed.tech/tags/root.md>), [status](<https://devfeed.tech/tags/status.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

The article configures Enter on an empty command line to run `git-number` for a Git repository with changes, or `ll` otherwise. The fish function checks repository status and whether the current directory is the repository root before choosing the command; it then executes the selected command. The zsh version exposes `MAGIC_ENTER_GIT_COMMAND` and `MAGIC_ENTER_OTHER_COMMAND` settings, defaulting to `git-number` and `ll`, and only acts at an empty prompt. The excerpt notes revisions to limit status checks to the repository root and concern about slow porcelain status output, but cuts off before the full zsh logic.

### Source excerpt

Two of the most common commands I run when I cd into a directory are: git status (which i do through git-number) ls -lh (aliased automatically as ll through fish) If this directory is not a git repo, then I usually am thinking of command 2. If however it is a git repository then I'd like to know if any files have been changed in this directory and which ones specifically (which is command 1). Wouldn't it be nice if I could just hit the ↩ (enter key) and have this automatically happen? Your browser doesn't support HTML5 video. Download the video instead. Solution for fish users ## If you're using fish, I got you covered: # filename: fish/conf.d/magic-enter.fish function magic-enter-cmd --description "Issue git status or ls on hitting enter in a dir" set -l cmd ll set -l is_git_repository (fish -c "git rev-parse --is-inside-work-tree >&2" 2>| grep true) # Special variable indicating git. set -l in_root_folder (fish -c "git rev-parse --show-toplevel >&2" 2>| grep (pwd)) set -l repo_has_changes (git status -s --ignore-submodules=dirty) if test -n "$is_git_repository" if test -n "$in_root_folder" if test -n "$repo_has_changes" set cmd git-number end end end echo $cmd end function magic-enter set -l cmd (commandline) if test -z "$cmd" commandline -r (magic-enter-cmd) commandline -f suppress-autosuggestion end commandline -f execute end bind \r magic-enter Solution for zsh users ## If you're using zsh, I adapted the native solution like so: # filename: magic-enter.plugin.zsh # Default commands : ${MAGIC_ENTER_GIT_COMMAND:="git-number"} # run when in a git repository : ${MAGIC_ENTER_OTHER_COMMAND:="ll"} # run anywhere else magic-enter() { # Only run MAGIC_ENTER commands when in PS1 and command line is empty # http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#User_002dDefined-Widgets if [[ -n "$BUFFER" || "$CONTEXT" != start ]]; then return fi is_git_repository=$(git rev-parse --is-inside-work-tree) in_repo_root_folder=$(git rev-parse --show-toplevel) repo_has_chan

## Maybe I can Stay in NuShell -or- Living in a Diverse Land of Shells

DevFeed: [Maybe I can Stay in NuShell -or- Living in a Diverse Land of Shells](<https://devfeed.tech/articles/maybe-i-can-stay-in-nushell-or-living-in-a-diverse-land-of-shells-28206.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/nushell/2022/07/20/maybe-i-can-stay-in-nushell.html>)

Author: Fuzzygroup

Published: 2022-07-20T09:36:00Z

Content type: opinion

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [Shell](<https://devfeed.tech/topics/shell.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Zsh](<https://devfeed.tech/topics/zsh.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [command](<https://devfeed.tech/tags/command.md>), [nushell](<https://devfeed.tech/tags/nushell.md>), [rails](<https://devfeed.tech/tags/rails.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [rvm](<https://devfeed.tech/tags/rvm.md>), [shell](<https://devfeed.tech/tags/shell.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

The author explains that they can continue using NuShell as their main shell while switching to Bash or Zsh when tools such as RVM require them. A Rails project is successfully created after switching to Bash.

### Source excerpt

I really, really like NuShell. The realization that maybe I had to leave was, I'll admit, mildly crushing. And then I just had the realization that maybe I don't have to leave NuShell and slink back to the dirty, byte infested corners of Bash and Zsh. Here's what just happened: /Users/sjohnson/Sync/coding/flow_analytics/open_source〉rails new pool_api --api Rails is not currently installed on this system. To get the latest version, simply type: $ sudo gem install rails You can then rerun your "rails" command. /Users/sjohnson/Sync/coding/flow_analytics/open_source〉ruby -v 07/20/2022 05:34:41 AM ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.x86_64-darwin21] /Users/sjohnson/Sync/coding/flow_analytics/open_source〉rvm use And that was the point when I realized "Oh yeah - RVM doesn't work on NuShell" and then it struck me - I can run Bash: /Users/sjohnson/Sync/coding/flow_analytics/open_source〉/bin/bash 07/20/2022 05:34:57 AM bash: /Users/sjohnson/Library/Python/2.7/bin/powerline-config: /usr/bin/python: bad interpreter: No such file or directory bash: /Users/sjohnson/Library/Python/2.7/bin/powerline-config: /usr/bin/python: bad interpreter: No such file or directory bash: /Users/sjohnson/.iterm2_shell_integration.nu: No such file or directory ERROR: Can't find Ruby library file or shared library lunchy usage: dirname string [...] The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb/HT208050. [sjohnson:~/Sync/coding/flow_analytics/open_source] [base] $ rails new pool_api --api create create README.md create Rakefile create .ruby-version create config.ru create .gitignore create .gitattributes create Gemfile run git init from "." ... So maybe my system can mostly run NuShell and I can drop in and out of Bash / Zsh when I need different things. Fingers Crossed.

## I switched to Zsh

DevFeed: [I switched to Zsh](<https://devfeed.tech/articles/i-switched-to-zsh-27672.md>)

Original publisher: [Read original article](<https://gagor.pro/2021/12/i-switched-to-zsh/>)

Author: Tom

Published: 2021-12-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Terminal](<https://devfeed.tech/topics/terminal.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [configuration](<https://devfeed.tech/topics/configuration.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [debian](<https://devfeed.tech/tags/debian.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [fonts](<https://devfeed.tech/tags/fonts.md>), [git](<https://devfeed.tech/tags/git.md>), [installation](<https://devfeed.tech/tags/installation.md>), [linux](<https://devfeed.tech/tags/linux.md>), [macos](<https://devfeed.tech/tags/macos.md>), [oh-my-zsh](<https://devfeed.tech/tags/oh-my-zsh.md>), [powerlevel10k](<https://devfeed.tech/tags/powerlevel10k.md>), [productivity](<https://devfeed.tech/tags/productivity.md>), [python](<https://devfeed.tech/tags/python.md>), [shell](<https://devfeed.tech/tags/shell.md>), [switching](<https://devfeed.tech/tags/switching.md>), [terminal](<https://devfeed.tech/tags/terminal.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

A practical guide to switching from Bash to Zsh and configuring Oh My Zsh, Powerlevel10k, plugins, fonts, and Git status indicators for an improved terminal workflow.

### Source excerpt

A guide to switching from bash to Zsh, with Oh My Zsh, Powerlevel10k, and useful plugins for a better terminal experience.

## Why zsh Handles Some Shell-Scripting Edge Cases Better Than Bash

DevFeed: [Why zsh Handles Some Shell-Scripting Edge Cases Better Than Bash](<https://devfeed.tech/articles/s-bash-zsh-g-53020.md>)

Original publisher: [Read original article](<https://www.arp242.net/why-zsh.html>)

Author: Martin Tournoij

Published: 2021-10-19T23:00:00Z

Content type: opinion

Language: en

Sources: [arp242.net](<https://devfeed.tech/sources/arp242-net.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Script](<https://devfeed.tech/topics/script.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [scripting](<https://devfeed.tech/tags/scripting.md>), [shell](<https://devfeed.tech/tags/shell.md>), [shell-scripting](<https://devfeed.tech/tags/shell-scripting.md>), [unix](<https://devfeed.tech/tags/unix.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

The article argues that zsh handles several shell-scripting edge cases more conveniently than bash, including fractional arithmetic, NUL bytes, array assignment, binary content, and quoting. It also discusses POSIX compatibility and interactive loop syntax.

### Source excerpt

You would expect this to work, no? bash% echo $(( .1 + .2 )) bash: .1 + .2 : syntax error: operand expected (error token is ".1 + .2 ") Well, bash says no, but zsh just works: zsh% echo $(( .1 + .2 )) 0.30000000000000004 # Well, "works" insofar IEEE-754 works. There is simply no way you can do calculations with fractions in bash without relying on bc, dc, or some hacks. Compared to simply being able to use a + b it's ugly, slow, and difficult. There are other pretty frustrating omissions in bash; NUL bytes is another fun one: zsh% x=$(printf 'N\x00L'); printf $x | xxd -g1 -c3 00000000: 4e 00 4c N.L bash% x=$(printf 'N\x00L'); printf $x | xxd -g1 -c3 bash: warning: command substitution: ignored null byte in input 00000000: 4e 4c NL It looks like bash added a warning recently-ish (4.4-patch 2); this one bit me pretty hard a few years ago; back then it would just get silently discarded without warning; I guess a warning is an "improvement" of sorts (fixing it, however, would be an actual improvement1). NUL bytes aren't that uncommon, think of e.g. find -print0, xargs -0, etc. That all works grand, right up to the point you try to assign it to a variable. You can use NUL bytes for array assignments though, if you evoke the right incantation: bash% read -rad arr < <(find . -type f -print0) There are all sorts of edge-cases where you need to resort to read or readarray rather than being able to just assign in. In zsh it's: zsh% arr=(**/*(.)) zsh% IFS='\x00' arr=($(find . -type f -print0)) # If you must use find (rarely needed) zsh% arr=( "${(0)$(find . -type f -print0)}" ) That (.) is a "glob qualifier" to include only regular files - more on that later. Don't even think of doing something like: img=$(curl https://example.com/image.png) if [[ $cond ]]; then optpng <<<"$img" > out.png else cat <<<"$img" > out.png fi Of course you can refactor this to avoid the variable (and the example is a bit contrived), but it really ought to work. I once wrote a script to import emails

## Why I migrated to the Fish Shell

DevFeed: [Why I migrated to the Fish Shell](<https://devfeed.tech/articles/why-i-migrated-to-the-fish-shell-37715.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/fish/>)

Author: Carlos Alexandro Becker

Published: 2020-12-07T00:00:00Z

Content type: opinion

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [friendly interactive shell](<https://devfeed.tech/topics/fish.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Zsh](<https://devfeed.tech/topics/zsh.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [dotfiles](<https://devfeed.tech/topics/dotfiles.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Environment Variables](<https://devfeed.tech/topics/environment-variables.md>), [lazy loading](<https://devfeed.tech/topics/lazy-loading.md>), [Script](<https://devfeed.tech/topics/script.md>)

Tags: [aliases](<https://devfeed.tech/tags/aliases.md>), [bash](<https://devfeed.tech/tags/bash.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [plugins](<https://devfeed.tech/tags/plugins.md>), [porting](<https://devfeed.tech/tags/porting.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [scripting](<https://devfeed.tech/tags/scripting.md>), [shell](<https://devfeed.tech/tags/shell.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

The author explains migrating dotfiles from Zsh to Fish, emphasizing Fish's startup performance, universal variables, lazy loading, and built-in features such as syntax highlighting, autosuggestions, and man-page completions. The article also notes differences from POSIX shells and describes the author's plugin setup.

### Source excerpt

Back in June, I started porting my dotfiles from ZSH to Fish. Here's why.

## Hacktoberfest: Speed up your workflows with ZSH and command line aliases!

DevFeed: [Hacktoberfest: Speed up your workflows with ZSH and command line aliases!](<https://devfeed.tech/articles/hacktoberfest-speed-up-your-workflows-with-zsh-and-command-line-aliases-28381.md>)

Original publisher: [Read original article](<https://siddroid.com/post/post-hacktoberfest-kotlin-mumbai-git-alias-zsh-siddhesh-patil/>)

Author: Siddhesh Patil

Published: 2020-10-24T11:07:06Z

Content type: tutorial

Language: en

Sources: [Sid Patil - Android Engineer and Kotlin Advocate](<https://devfeed.tech/sources/sid-patil-android-engineer-and-kotlin-advocate.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Git](<https://devfeed.tech/topics/git.md>), [Android](<https://devfeed.tech/topics/android.md>)

Tags: [best-android-developer-groups-in-india](<https://devfeed.tech/tags/best-android-developer-groups-in-india.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [commands](<https://devfeed.tech/tags/commands.md>), [customizing-zsh](<https://devfeed.tech/tags/customizing-zsh.md>), [developer-communities-in-mumbai](<https://devfeed.tech/tags/developer-communities-in-mumbai.md>), [faster-workflows-using-zsh](<https://devfeed.tech/tags/faster-workflows-using-zsh.md>), [git](<https://devfeed.tech/tags/git.md>), [guide](<https://devfeed.tech/tags/guide.md>), [hacktoberfest-mumbai](<https://devfeed.tech/tags/hacktoberfest-mumbai.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [installation](<https://devfeed.tech/tags/installation.md>), [kotlin-user-group-mumbai](<https://devfeed.tech/tags/kotlin-user-group-mumbai.md>), [kug](<https://devfeed.tech/tags/kug.md>), [productivity](<https://devfeed.tech/tags/productivity.md>), [shell](<https://devfeed.tech/tags/shell.md>), [siddhesh-patil-software-evangelist](<https://devfeed.tech/tags/siddhesh-patil-software-evangelist.md>), [using-ohmyzsh-with-zsh](<https://devfeed.tech/tags/using-ohmyzsh-with-zsh.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

A tutorial on using Zsh, Oh My Zsh, and command-line aliases to streamline Android development workflows and common Git tasks.

### Source excerpt

Boost your productivity and workflows while working on Android projects through Z-shell and OhMyZsh. We will learn how to escape the GUI and perform daily git actions through custom command-line aliases.

[Next page](<https://devfeed.tech/tags/zsh.md?cursor=WyIyMDIwLTEwLTI0VDExOjA3OjA2KzAwOjAwIiwgIjk5NmFlODRhLTBlZWQtNDliMi05ZGYyLTlkYTZkZWJiZWQ5YyJd>)