#!/usr/bin/env zsh # Install zgenom if needed if [[ ! -f $HOME/.zgenom/zgenom.zsh ]]; then print -P "Installing zgenom" git clone https://github.com/jandamm/zgenom.git "${HOME}/.zgenom" && \ print -P " - Installation successful." || \ print -P " - The clone has failed." fi # load zgenom source "${HOME}/.zgenom/zgenom.zsh" # Check for plugin and zgenom updates every 7 days # This does not increase the startup time. zgenom autoupdate # if the init script doesn't exist if ! zgenom saved; then # specify plugins here zgenom ohmyzsh zgenom ohmyzsh plugins/git zgenom ohmyzsh plugins/sudo zgenom ohmyzsh plugins/archlinux zgenom ohmyzsh plugins/command-not-found zgenom ohmyzsh plugins/common-aliases zgenom ohmyzsh plugins/copypath zgenom ohmyzsh plugins/copyfile zgenom ohmyzsh plugins/cp zgenom ohmyzsh plugins/dircycle zgenom ohmyzsh plugins/docker-compose zgenom ohmyzsh plugins/encode64 zgenom ohmyzsh plugins/extract zgenom ohmyzsh plugins/fancy-ctrl-z zgenom ohmyzsh plugins/gem zgenom ohmyzsh plugins/git zgenom ohmyzsh plugins/git/git.plugin.zsh zgenom ohmyzsh plugins/golang zgenom ohmyzsh plugins/gpg-agent zgenom ohmyzsh plugins/history zgenom ohmyzsh plugins/node zgenom ohmyzsh plugins/npm zgenom ohmyzsh plugins/pip zgenom ohmyzsh plugins/rvm zgenom ohmyzsh plugins/sudo zgenom ohmyzsh plugins/svn zgenom ohmyzsh plugins/systemd zgenom ohmyzsh plugins/terraform zgenom ohmyzsh plugins/tmux zgenom ohmyzsh plugins/tmuxinator zgenom ohmyzsh plugins/urltools zgenom ohmyzsh plugins/vagrant zgenom ohmyzsh plugins/web-search # prezto options zgenom prezto editor key-bindings 'emacs' zgenom prezto prompt theme 'sorin' # This ZSH plugin enables using fzf to search your command history and do file searches. zgenom load unixorn/fzf-zsh-plugin # Introduce 256 colors in terminal zgenom load chrissicool/zsh-256color # Because your terminal should be able to perform tasks asynchronously without external tools! zgenom load mafredri/zsh-async # simplistic interactive filtering tool zgenom load peco/peco # Bookmarks and jump zgenom load jocelynmallon/zshmarks # Enhanced dir list with git features zgenom load supercrabtree/k # Jump back to parent directory zgenom load tarrasch/zsh-bd zgenom load djui/alias-tips zgenom load hlissner/zsh-autopair # search in zsh history zgenom load zsh-users/zsh-history-substring-search # Additional completion definitions for Zsh. zgenom load zsh-users/zsh-completions # Suggests commands as you type based on history and completions. zgenom load zsh-users/zsh-autosuggestions # zsh-syntax-highlighting must be loaded after executing compinit command and sourcing other plugins zgenom load zsh-users/zsh-syntax-highlighting # File autocompletions zgenom load marlonrichert/zsh-autocomplete # generate the init script from plugins above zgenom save fi