Skip to content

Commit

Permalink
Switch to zgenom since zgen is dead
Browse files Browse the repository at this point in the history
  • Loading branch information
erichlf committed Apr 27, 2024
1 parent 931aace commit 988f8d1
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This repo contains all my config files.
## Contents

The main things in this are a highly modified lunarvim, a basic setup of zsh
using zgen and oh-my-zsh. All dotfiles are installed via stow.
using zgenom and oh-my-zsh. All dotfiles are installed via stow.
`$DOTFILES/my-home` contains all the dotfiles that go directly in `$HOME`,
while `$DOTFILES/config` contains all the dotfiles that go in `$HOME/config`.
And we don't talk about `$DOTFILES/private`.
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function base_sys(){
curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash

# zsh plugin manager
[ ! -d $HOME/.zgen ] && git clone https://github.com/tarjoilija/zgen.git ${HOME}/.zgen
[ ! -d $HOME/.zgenom ] && git clone https://github.com/jandamm/zgenom.git ${HOME}/.zgenom

# tool to figure out why my last command didn't work
snap_install thefuck --beta --classic
Expand Down
74 changes: 37 additions & 37 deletions my-home/dot-zshrc
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
# automatically run `zgen reset` if we modify our .zshrc
# automatically run `zgenom reset` if we modify our .zshrc
ZGEN_RESET_ON_CHANGE=("${HOME}/.zshrc")

# load zgen
source "${HOME}/.zgen/zgen.zsh"
# load zgenom
source "${HOME}/.zgenom/zgenom.zsh"

zgen selfupdate
zgenom selfupdate

# if the init scipt doesn't exist
if ! zgen saved; then
zgen oh-my-zsh
if ! zgenom saved; then
zgenom ohmyzsh

# plugins
zgen oh-my-zsh plugins/1password
zgen oh-my-zsh plugins/colored-man-pages
zgen oh-my-zsh plugins/colorize
zgen oh-my-zsh plugins/command-not-found
zgen oh-my-zsh plugins/common-aliases
zgen oh-my-zsh plugins/copyfile
zgen oh-my-zsh plugins/copypath
zgen oh-my-zsh plugins/cp
zgen oh-my-zsh plugins/dirhistory
zgen oh-my-zsh plugins/docker
zgen oh-my-zsh plugins/docker-compose
zgen oh-my-zsh plugins/emacs
zgen oh-my-zsh plugins/fzf
zgen oh-my-zsh plugins/git
zgen oh-my-zsh plugins/git
zgen oh-my-zsh plugins/man
zgen oh-my-zsh plugins/pass
zgen oh-my-zsh plugins/rsync
zgen oh-my-zsh plugins/safe-paste
zgen oh-my-zsh plugins/sudo
zgen oh-my-zsh plugins/sudo
zgen oh-my-zsh plugins/ubuntu
zgen oh-my-zsh plugins/web-search
zgen oh-my-zsh plugins/zsh-interactive-cd

zgen load zsh-users/zsh-autosuggestions
zgen load zsh-users/zsh-history-substring-search
zgen load zsh-users/zsh-syntax-highlighting
zgenom ohmyzsh plugins/1password
zgenom ohmyzsh plugins/colored-man-pages
zgenom ohmyzsh plugins/colorize
zgenom ohmyzsh plugins/command-not-found
zgenom ohmyzsh plugins/common-aliases
zgenom ohmyzsh plugins/copyfile
zgenom ohmyzsh plugins/copypath
zgenom ohmyzsh plugins/cp
zgenom ohmyzsh plugins/dirhistory
zgenom ohmyzsh plugins/docker
zgenom ohmyzsh plugins/docker-compose
zgenom ohmyzsh plugins/emacs
zgenom ohmyzsh plugins/fzf
zgenom ohmyzsh plugins/git
zgenom ohmyzsh plugins/git
zgenom ohmyzsh plugins/man
zgenom ohmyzsh plugins/pass
zgenom ohmyzsh plugins/rsync
zgenom ohmyzsh plugins/safe-paste
zgenom ohmyzsh plugins/sudo
zgenom ohmyzsh plugins/sudo
zgenom ohmyzsh plugins/ubuntu
zgenom ohmyzsh plugins/web-search
zgenom ohmyzsh plugins/zsh-interactive-cd

zgenom load zsh-users/zsh-autosuggestions
zgenom load zsh-users/zsh-history-substring-search
zgenom load zsh-users/zsh-syntax-highlighting

# theme
# zgen oh-my-zsh themes/arrow
# zgenom ohmyzsh themes/arrow

# save all to init script
zgen save
zgenom save
fi

# automatically upgrade oh-my-zsh without asking
# automatically upgrade ohmyzsh without asking
DISABLE_UPDATE_PROMPT=true
zstyle ':omz:update' mode auto # update automatically without asking

Expand Down

0 comments on commit 988f8d1

Please sign in to comment.