Package Details: oh-my-zsh-git r6192.be4a95297-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: 429
Popularity: 3.27
First Submitted: 2012-10-24 12:04
Last Updated: 2021-10-05 05:52

Dependencies (7)

Sources (2)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

krs commented on 2021-10-04 12:27

It's because the format of disabling automatic updates in the zshrc file has apparently changed, so the patch doesn't work anymore.

Here's an updated patch:

--- a/zshrc 2021-10-04 14:06:44.858883829 +0200
+++ b/zshrc 2021-10-04 14:09:17.198891675 +0200
@@ -2,7 +2,7 @@
 # export PATH=$HOME/bin:/usr/local/bin:$PATH

 # 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 --- if set to "random", it will
 # load a random theme each time oh-my-zsh is loaded, in which case,
@@ -24,7 +24,7 @@
 # HYPHEN_INSENSITIVE="true"

 # Uncomment the following lines to change the auto-update behavior
-# zstyle ':omz:update' mode disabled  # disable automatic updates
+zstyle ':omz:update' mode disabled  # disable automatic updates
 # zstyle ':omz:update' mode auto      # update automatically without asking
 # zstyle ':omz:update' mode reminder  # just remind me to update when it's time

@@ -72,8 +72,6 @@
 # Add wisely, as too many plugins slow down shell startup.
 plugins=(git)

-source $ZSH/oh-my-zsh.sh
-
 # User configuration

 # export MANPATH="/usr/local/man:$MANPATH"
@@ -99,3 +97,10 @@
 # Example aliases
 # alias zshconfig="mate ~/.zshrc"
 # alias ohmyzsh="mate ~/.oh-my-zsh"
+
+ZSH_CACHE_DIR=$HOME/.cache/oh-my-zsh
+if [[ ! -d $ZSH_CACHE_DIR ]]; then
+  mkdir $ZSH_CACHE_DIR
+fi
+
+source $ZSH/oh-my-zsh.sh

pkr commented on 2021-10-04 11:11

Seeing this when installing.

==> Starting prepare()... patching file zshrc Hunk #1 succeeded at 4 with fuzz 2 (offset 3 lines). Hunk #2 FAILED at 15. Hunk #3 succeeded at 72 with fuzz 2 (offset 16 lines). Hunk #4 succeeded at 98 (offset 17 lines). 1 out of 4 hunks FAILED -- saving rejects to file zshrc.rej ==> ERROR: A failure occurred in prepare(). Aborting...

Appreciate any help.

MarcinWieczorek commented on 2020-11-11 20:03

This is not a support channel. If you have your oh-my-zsh in $HOME, then it's probably not this package's fault as files are installed in /usr/share. Try a fresh install or check git status/git diff if you cloned the repository to ~/.oh-my-zsh

glitxh commented on 2020-11-11 19:59

I'm recently getting this error on launch. Any help? /home/username/.oh-my-zsh/lib/misc.zsh:21: command not found: env_default /home/username/.oh-my-zsh/lib/misc.zsh:22: command not found: env_default

jiahuiz commented on 2020-10-13 23:33

@ryankh @csts The correct way is run: cp /usr/share/oh-my-zsh/zshrc ~/.zshrc

csts commented on 2020-07-17 21:12

@ryankh I just installed it and ran:
/usr/share/oh-my-zsh/tools/install.sh

EgidioCaprino commented on 2020-06-09 08:39

I guess it's because you're supposed to upgrade it through AUR

eh8 commented on 2020-06-09 02:59

Why is upgrade_oh_my_zsh disabled as a command?

ryankh commented on 2020-06-08 02:49

I couldn't figure out how to make this work. None of the instructions on the oh-my-zsh readme from GitHub seemed to work with this AUR version. It was faster and easier just to follow the instructions from the readme and manually install it in my home folder.

francoism90 commented on 2020-04-18 15:26

yay -Scc