Hacker GitHub

← All repos

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

Mentions per year 30 mentions · busiest year 2022 (8)
20082026
  1. …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…
  2. …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#...
  3. …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/... ⁴…
  4. …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…
  5. > 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
  6. 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
  7. 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
  8. 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
  9. …[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
  10. patched ca. zsh 5.8: https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841...
    comment by trynewideas · 2022-11-20 · in Redbean Tiddlywiki Saver
  11. [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
  12. It was merged: https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841... We patched fish too! Plus NetBSD sh and FreeBSD sh.
  13. Try upgrading to the latest version; I upstreamed a patch in zsh last year. https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841...
  14. …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...
  15. …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...
  16. …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...
  17. 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
  18. ▲ 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
  19. …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
  20. …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)
  21. 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…
  22. 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
  23. …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
  24. …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…
  25. …config but it can be done Edit: looks like it might be stock behaviour https://github.com/zsh-users/zsh/blob/master/Completion/Unix...
  26. 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
  27. ▲ 4
    Zsh v5.0.8
    story by Watabou · 2015-06-06 · 2 comments
  28. …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
  29. 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
  30. ▲ 141
    Zsh 5.0 released
    story by fredoliveira · 2012-07-23 · 57 comments