Package Details: oh-my-zsh-git r7424.c690f7316-1

Git Clone URL: https://aur.archlinux.org/oh-my-zsh-git.git (read-only, click to copy)
Package Base: oh-my-zsh-git
Description: A community-driven framework for managing your zsh configuration. Includes 180+ optional plugins and over 120 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community
Upstream URL: https://github.com/ohmyzsh/ohmyzsh
Licenses: MIT
Submitter: phoenixlzx
Maintainer: MarcinWieczorek
Last Packager: MarcinWieczorek
Votes: 474
Popularity: 2.88
First Submitted: 2012-10-24 12:04 (UTC)
Last Updated: 2024-11-03 11:29 (UTC)

Dependencies (7)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 18 Next › Last »

matejdro commented on 2024-06-23 05:22 (UTC)

Still failing for me

==> Starting prepare()...
patching file zshrc
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 72 with fuzz 2 (offset 16 lines).
Hunk #3 succeeded at 101 (offset 20 lines).
1 out of 3 hunks FAILED -- saving rejects to file zshrc.rej
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: oh-my-zsh-git-exit status 4

MarcinWieczorek commented on 2024-06-18 09:30 (UTC)

I fixed it already.

Evrenos commented on 2024-06-17 19:05 (UTC)

@Spixmaster go to PKGBUILD of oh-my-zsh-git (.cache/yay/.. or .cache/paru/clone/... to find the folder of omz ) and comment the line "patch -p1 < "${srcdir}/0001-zshrc.patch""

Spixmaster commented on 2024-06-15 19:35 (UTC) (edited on 2024-06-16 08:12 (UTC) by Spixmaster)

A patch fails.

==> Starting prepare()...
patching file zshrc
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 72 with fuzz 2 (offset 16 lines).
Hunk #3 succeeded at 101 (offset 20 lines).
1 out of 3 hunks FAILED -- saving rejects to file zshrc.rej
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'oh-my-zsh-git-r6192.be4a95297-1':
error: packages failed to build: oh-my-zsh-git-r6192.be4a95297-1

zshrc.rej:

--- zshrc   2016-06-26 13:02:54.465316829 +0200
+++ zshrc   2016-06-26 13:01:21.811987209 +0200
@@ -1,5 +1,5 @@
 # Path to your oh-my-zsh installation.
-export ZSH=$HOME/.oh-my-zsh
+ZSH=/usr/share/oh-my-zsh/

 # Set name of the theme to load.
 # Look in ~/.oh-my-zsh/themes/

The cause is a change in the file "zshrc".

aliu commented on 2024-01-25 22:46 (UTC)

Hi @MarcinWieczorek, could my patch file be applied?

starquake commented on 2024-01-18 07:41 (UTC)

https://wiki.archlinux.org/title/PKGBUILD says:

For the sake of consistency, pkgname should match the name of the source tarball of the software: for instance, if the software is in foobar-2.5.tar.gz, use pkgname=foobar.

There is no tarball AFAIK so that's not gonna help. There is an executable called: oh-my-zsh.sh

So I guess the name is fine?

aliu commented on 2024-01-17 14:54 (UTC)

Upstream renamed the lowercase variant of their project but the full name of the project is still Oh My Zsh, not ohmyzsh. Just look at the README. Whether or not they want to hyphenate, AUR packages must hyphenate.

MarcinWieczorek commented on 2024-01-17 08:36 (UTC)

Git is only used by themes to display the git status of the current directory and update; they work well without git.

which is a definition of an optional dependency, which it is.

I don’t really see why AUR shouldn’t contain things with oh-my-zsh, it’s what seems to be the logical name according to AUR naming conventions, and users can still find this package by searching the unhyphenated and hyphenated forms alike.

They can't! https://aur.archlinux.org/packages?O=0&K=ohmyzsh Upstream renamed their project, we should follow.

aliu commented on 2024-01-16 12:56 (UTC)

Git is only used by themes to display the git status of the current directory and update; they work well without git. I don’t really see why AUR shouldn’t contain things with oh-my-zsh, it’s what seems to be the logical name according to AUR naming conventions, and users can still find this package by searching the unhyphenated and hyphenated forms alike.

MarcinWieczorek commented on 2024-01-16 07:55 (UTC)

But git is used by themes, it's a legit optdepend, like python. But ruby can be removed.

I'd like to address the issue of naming - I contacted ohmyzsh team on discord when they removed hypens. There were issues on their side that needed to be resolved and they promised to get back when they're ready. They never did. This needs to be done. AUR contains 12 items with oh-my-zsh phrase, this needs to be refactored.