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 11 .. 17 Next › Last »

MarcinWieczorek commented on 2023-03-05 14:14 (UTC)

It updates like every other git package. You need to update it yourself and your makepkg program will fetch latest commit. Some AUR helpers do that for you.

keibak commented on 2023-03-02 18:57 (UTC)

How does this package update? I've noticed that my /usr/share/oh-my-zsh was from 2021-10-05.

MarcinWieczorek commented on 2022-12-21 09:50 (UTC)

@bkb this package installs files in /usr/share/oh-my-zsh. Update your .zshrc accordingly.

bkb commented on 2022-12-20 13:28 (UTC) (edited on 2022-12-20 13:34 (UTC) by bkb)

/home/$USER/.zshrc:source:419: no such file or directory: /home/$USER/.oh-my-zsh/oh-my-zsh.sh
/usr/share/oh-my-zsh/oh-my-zsh.sh:source:61: no such file or directory: /home/$USER/.oh-my-zsh/tools/check_for_upgrade.sh
[oh-my-zsh] plugin 'git' not found
/usr/share/oh-my-zsh/oh-my-zsh.sh:cd:111: no such file or directory: /home/$USER/.oh-my-zsh
/usr/share/oh-my-zsh/oh-my-zsh.sh:source:122: no such file or directory: /home/$USER/.oh-my-zsh/lib/compfix.zsh
/usr/share/oh-my-zsh/oh-my-zsh.sh:126: command not found: handle_completion_insecurities
/usr/share/oh-my-zsh/oh-my-zsh.sh:153: no matches found: /home/$USER/.oh-my-zsh/lib/*.zsh
/home/$USER/.zshrc:source:455: no such file or directory: /home/$USER/.oh-my-zsh/oh-my-zsh.sh
# Path to your oh-my-zsh installation.
ZSH=/usr/share/oh-my-zsh/
export ZSH=$HOME/.oh-my-zsh

MarcinWieczorek commented on 2022-02-03 07:36 (UTC)

patch is in base-devel. Is it required at runtime or only buildtime?

<deleted-account> commented on 2022-02-03 03:18 (UTC)

PKGBUILD needs patch as a dependency

krs commented on 2021-10-04 12:27 (UTC) (edited on 2021-10-04 12:41 (UTC) by krs)

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 (UTC) (edited on 2021-10-04 11:12 (UTC) by pkr)

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 (UTC)

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 (UTC)

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