Hi all, this is my first post here. I looked through as much as I could and couldn't find anything here that seemed to be relevant, so if this is in the wrong place will a mod please move it, thank you.
When one installs oh-my-zsh I normally just use: sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyz ... install.sh)"
or sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyz ... install.sh)"
During the install oh-my-zsh is installed via yay as it appears in the ~/.zshrc file (below)
Code: Select all
# Path to your oh-my-zsh installation.
#installation via script from github
#export ZSH="/home/$USER/.oh-my-zsh"
#installation via yay -S oh-my-zsh-git
export ZSH=/usr/share/oh-my-zsh/
'omz update'
This is the (obvious) result:
Code: Select all
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not in a git directory
fatal: not in a git directory
fatal: not in a git directory
fatal: not in a git directory
fatal: not in a git directory
fatal: not in a git directory
Updating Oh My Zsh
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
There was an error updating. Try again later?
fatal: not in a git directory
_omz::update:12: permission denied: /usr/share/oh-my-zsh//cache/.zsh-update
fatal: not a git repository (or any of the parent directories): .git