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: 473
Popularity: 3.62
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 9 10 .. 17 Next › Last »

starquake commented on 2024-01-09 19:09 (UTC)

Can someone unflag this package please? My AUR-helper keeps reminding me this packages is out of date but a git package is never up to date. Thanks!

aliu commented on 2023-11-23 15:31 (UTC)

No. You do not need to install OMZ again after installing this package. All you need to do is replace/change your .zshrc. Doing that would run the entire install script again, duplicating OMZ in your home directory.

Currently the .install says "You have to execute 'cp /usr/share/oh-my-zsh/zshrc ~/.zshrc' to use it.", which... would seem a bit suspicious. I think a better message would be "An environmental variable has to be set in your .zshrc to use oh-my-zsh. A sample .zshrc is provided at /usr/share/oh-my-zsh/zshrc."

Also, I wonder why you don't need to export ZSH in the patched zshrc?

MarcinWieczorek commented on 2023-11-23 07:59 (UTC)

Do you think install.sh linked to /usr/bin/ohmyzsh-install would help? I think most of us try to tab complete the package name after installing when unsure of usage.

aliu commented on 2023-11-22 19:12 (UTC)

https://github.com/ohmyzsh/ohmyzsh/blob/master/tools/install.sh :

KEEP_ZSHRC - 'yes' means the installer will not replace an existing .zshrc (default: no)

I get that arch packages cannot write to home, but there should at least be a postinstall echo that tells you how to trigger OMZ.

Fil-23 commented on 2023-11-22 15:35 (UTC) (edited on 2023-11-22 15:49 (UTC) by Fil-23)

I’m pretty sure OMZ usually backs up your .zshrc and overwrites it with its default one when you install it

You are pretty wrong here. My .zshrc was never overwritten by any update. That's why you store the .zshrc in your home directory .. You just have to specify the path to the installation, as it is also mentioned in the git repository of oh-my-zsh. It is not necessary to source the script, since you only need to define the environment variable (as mentioned in the documentation):

# Path to your oh-my-zsh installation.
ZSH=/usr/share/oh-my-zsh/

Don't see a reason to mark this package as outdated.

The default zshrc is here: /usr/share/oh-my-zsh/templates/zshrc.zsh-template - Just do a copy if you need a newly generated .zshrc.:

cp /usr/share/oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

aliu commented on 2023-10-26 13:48 (UTC)

Shouldn’t that be told to the user at the end of installing this and shouldn’t the default .zshrc be put somewhere? I’m pretty sure OMZ usually backs up your .zshrc and overwrites it with its default one when you install it

peder2tm commented on 2023-10-26 09:08 (UTC) (edited on 2023-10-26 09:08 (UTC) by peder2tm)

Why is the package flagged out of date? It works for me. Just had to add this to my .zshrc:

plugins=(
    git
    virtualenv
)
source /usr/share/oh-my-zsh/oh-my-zsh.sh

aliu commented on 2023-09-10 15:29 (UTC)

Also, this package doesn't do anything for me.

aliu commented on 2023-09-10 15:11 (UTC)

I think the powerline theme dependency should be removed as that repository has been archived. Maybe it should be replaced with powerlevel10k.

<deleted-account> commented on 2023-07-26 13:23 (UTC)

Hi, Im switched from the git clone variant to this one and am now encountering the following errors when sourcing the .zshrc:

$ source .zshrc           
/usr/share/oh-my-zsh/plugins/chucknorris/fortunes/chucknorris.dat: Permission denied
/usr/share/oh-my-zsh/plugins/hitchhiker/fortunes/hitchhiker.dat: Permission denied

Seems like the .dat files are not present in the aur's install, but on the git repo they somehow are...