zsh-users/zsh
View on GitHub ↗ ★ 4,327 C
Mirror of the Z shell source code repository.
30 mentions on Hacker News by 22 people: 3 stories, 27 comments · first 2012-07-23 · latest 2026-02-02
20082026
-
…implementing it. For example, zsh does it here for rsync, which actually invokes `ssh` itself: https://github.com/zsh-users/zsh/blob/3e72a52e27d8ce8d8be0ee... https://github.com/zsh-users/zsh/blob/3e72a52e27d8ce8d8be0ee... That said, some…
comment by nh2 · 2026-02-02 · in 4x faster network file sync with rclone (vs rsync) (2025) -
…doesn't look that way, at least looking at the option handling code in the read builtin (bin_read): https://github.com/zsh-users/zsh/blob/8a3ee5a/Src/builtin.c#...
comment by wahern · 2026-01-15 · in Handling secrets (somewhat) securely in shells -
…itself on top of tput calls. ¹ https://zsh.sourceforge.io/Doc/Release/Zsh-Modules.html#The-... ² https://github.com/zsh-users/zsh/blob/master/Functions/Misc/... ³ https://github.com/zsh-users/zsh/blob/master/Functions/Misc/... ⁴…
comment by JNRowe · 2024-07-27 · in Bashsimplecurses: Simple curses library made in bash to draw terminal interfaces -
…directly from within the line editor and remove the need for wrapping commands like I did above. ¹ https://github.com/zsh-users/zsh/blob/master/Functions/Misc/... ² This at least uses, and cleans up, a temp file to handle the commit…
comment by JNRowe · 2024-07-09 · in Entering text in the terminal is complicated -
> Now, listen. I wish I could continue here and end with “… and this is why ZSH does it that way!” https://github.com/zsh-users/zsh/blob/47c7bc9b1493c7374f076b... has a comment about this behaviour, but no justification. I think it's just…
comment by jamespwilliams · 2024-03-09 · in How to Lose Control of Your Shell -
I fixed that bug in zsh two years ago. It got released in zsh 5.9. https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841... I'm going to be answering questions about it until my dying day.
comment by jart · 2023-12-13 · in Bash one-liners for LLMs -
You need to upgrade to zsh 5.9, or backport the patch I sent them two years ago: https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841... If you can't upgrade zsh, then the workaround is to say `sh -c ./ape-program` or `bash -c…
comment by jart · 2023-11-02 · in Cosmopolitan Third Edition -
You need to upgrade to zsh 5.9, or backport the patch I sent them two years ago: https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841... If you can't upgrade zsh, then the workaround is to say `sh -c ./ape-program` or `bash -c…
comment by jart · 2023-11-02 · in Cosmopolitan Third Edition -
…[0]: https://jvns.ca/blog/2023/08/03/behind--hello-world [1]: https://github.com/zsh-users/zsh [2]: https://docs.sourcegraph.com/cody
comment by yla92 · 2023-08-13 · in Exploring the Internals of Linux v0.01 -
patched ca. zsh 5.8: https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841...
comment by trynewideas · 2022-11-20 · in Redbean Tiddlywiki Saver -
[Original finder here; I wrote that, I checked.] See the docs: https://github.com/zsh-users/zsh/blob/f8d93888a8efd6c8142e74... Relevant code: https://github.com/zsh-users/zsh/blob/f8d93888a8efd6c8142e74...
comment by dgl · 2022-11-10 · in Xterm code execution via font ops -
It was merged: https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841... We patched fish too! Plus NetBSD sh and FreeBSD sh.
comment by jart · 2022-08-30 · in How fat does a fat binary need to be? (2021) -
Try upgrading to the latest version; I upstreamed a patch in zsh last year. https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841...
comment by jart · 2022-06-17 · in Redbean 2.0 turned into more than a hobby project -
…this functionality has shipped with Zsh since for several years, though not enabled by default. See https://github.com/zsh-users/zsh/blob/master/Functions/Zle/b... or https://github.com/zsh-users/zsh/blob/master/Functions/Zle/b...
comment by re · 2022-05-10 · in Zsh-autoquoter makes shell quoting slightly less annoying -
…tab-complete `--long` flags and if so whether it should include `--context` (SELinux) among them. https://github.com/zsh-users/zsh/blob/master/Completion/Unix...
comment by LukeShu · 2022-01-30 · in The case of the mysterious --help directory (2020) -
…as an add-on or as part of a core library of a shell. I found this line, maybe it's the culprit? https://github.com/zsh-users/zsh/blob/master/Completion/Unix...
comment by ironmagma · 2022-01-30 · in The case of the mysterious --help directory (2020) -
I seem to remember they just switch default shell to zsh, which is MIT [0] [0] https://github.com/zsh-users/zsh/blob/master/LICENCE
comment by pininja · 2022-01-28 · in Apple removes Python 2.7 in macOS 12.3 beta -
▲ 3
“As far as I can make out, this is a gross hack based on a gross hack.”story by Rendello · 2021-12-04 · 0 comments
-
…for makefiles¹, and as such won't execute the shell function or recipes that use the + prefix. ¹ https://github.com/zsh-users/zsh/blob/master/Completion/Unix...
comment by JNRowe · 2021-05-15 · in Using Rust Macros to exfiltrate secrets -
…module, allowing you to easily avoid hardcoding system specific escapes in to your config. ¹ https://github.com/zsh-users/zsh/blob/master/Functions/Misc/... ² http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-... ³…
comment by JNRowe · 2021-02-03 · in ANSI escape codes (2019) -
Here's zsh's implementation: https://github.com/zsh-users/zsh/blob/master/Completion/Unix... It's more complete, since it implements completion for bsdmake too, where there's no -p but a comparable debug option.[1] It completes variables…
comment by oefrha · 2020-07-01 · in How to list all the targets on a Makefile -
This allows you to enter https://github.com/zsh-users/zsh.git Into your shell, and have it automatically get translated into git clone https://github.com/zsh-users/zsh.git It has no effect at all on your ability to run regular git commands.
comment by moonchild · 2020-05-26 · in ZSH Aliases -
…zsh's awesome globbing and filtering functionality it is often far nicer to work with than find. 1. https://github.com/zsh-users/zsh/blob/master/Functions/Misc/... or zshcontrib(1)
comment by JNRowe · 2020-04-25 · in Shell Productivity Tips and Tricks -
…can do this sort of thing easily enough too. The example from your video with zsh's zmv (bundled: https://github.com/zsh-users/zsh/blob/master/Functions/Misc/... ) > touch btn_google_{signin,signup}_dark_normal_web{,@2x}.png # create files…
comment by gaving · 2019-12-31 · in Ask HN: What are your best shell scripts that you use? -
…config but it can be done Edit: looks like it might be stock behaviour https://github.com/zsh-users/zsh/blob/master/Completion/Unix...
comment by asgeir · 2017-12-27 · in Ask HN: What do you love/hate about terminals? Would you change them? -
Most shells now support a bracketed paste mode. zsh: https://github.com/zsh-users/zsh/commit/98687fa1dec803f041cb... , bash: https://www.gnu.org/software/bash/manual/html_node/Readline-... (enable-bracketed-paste)
comment by vbernat · 2017-09-27 · in Git git git git git -
▲ 4
Zsh v5.0.8story by Watabou · 2015-06-06 · 2 comments
-
…haven't looked closely though. [0]: http://git.savannah.gnu.org/cgit/bash.git/tree/parse.y [1]: https://github.com/zsh-users/zsh/blob/master/Src/parse.c [2]: http://www.gentoo.org/proj/en/libbash/
comment by idank · 2013-12-02 · in Explain Shell -
This file lists what's new since 4.2: https://github.com/zsh-users/zsh/blob/master/NEWS
comment by avolcano · 2012-07-23 · in Zsh 5.0 released -
▲ 141
Zsh 5.0 releasedstory by fredoliveira · 2012-07-23 · 57 comments