From 030d1651123b270380a6e7eb92ad17a57f9cacb0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 9 Oct 2019 21:20:40 +0200 Subject: Replace zplugin with home-manager zsh.plugins --- user/zsh/.config/zsh/.zshrc | 39 --------------------------------------- 1 file changed, 39 deletions(-) (limited to 'user/zsh/.config') diff --git a/user/zsh/.config/zsh/.zshrc b/user/zsh/.config/zsh/.zshrc index 959365cd..d7f29c1e 100644 --- a/user/zsh/.config/zsh/.zshrc +++ b/user/zsh/.config/zsh/.zshrc @@ -1,6 +1,4 @@ # -*- mode: sh; -*- -source $HOME/.zplugin/bin/zplugin.zsh - setopt inc_append_history_time setopt transient_rprompt @@ -70,39 +68,6 @@ zstyle ':completion:*' completer _expand _complete _match # Plugins -zplugin ice blockf wait'!' lucid -zplugin load "zsh-users/zsh-completions" -zplugin ice wait'[[ -n ${ZLAST_COMMANDS[(r)k*]} || "$PWD" =~ "kubernetes" ]]' lucid -zplugin load alanpearce/kubectl-aliases -zplugin ice wait'1' lucid atinit'alias cdg=cd-gitroot' -zplugin load "mollifier/cd-gitroot" -zplugin ice wait'[[ -n ${ZLAST_COMMANDS[(r)rm*]} ]]' lucid -zplugin load "MikeDacre/careful_rm" - -zplugin ice wait'1' lucid -zplugin load "arzzen/calc.plugin.zsh" - -# provides the title function and macOS title-folder sync -zplugin ice if'[[ $os -eq darwin ]]' -zplugin snippet "OMZ::lib/functions.zsh" -zplugin ice if'[[ $os -eq darwin ]]' -zplugin snippet "OMZ::lib/termsupport.zsh" - -zplugin ice if'[[ $os -eq darwin ]]' wait'5' lucid -zplugin load "unixorn/tumult.plugin.zsh" - -zplugin ice wait'[[ -n ${ZLAST_COMMANDS[(r)npm*]} ]]' lucid -zplugin load "lukechilds/zsh-better-npm-completion" - -zplugin ice if'[[ (-n $commands[nix-env] && -z $commands[nixos-rebuild]) ]]' wait'[[ -n ${ZLAST_COMMANDS[(r)nix-shell*]} ]]' lucid -zplugin load "chisui/zsh-nix-shell" - -zplugin ice if'[[ -n $commands[ghq] ]]' -zplugin load "${GOPATH:=$HOME/go}/src/github.com/motemen/ghq/zsh" - -zplugin ice wait'!2' lucid -zplugin load "MichaelAquilina/zsh-you-should-use" - if [[ -n $commands[gcloud] ]] then autoload bashcompinit @@ -168,13 +133,9 @@ else precmd_functions+=(check_kubectl_context) AGKOZAK_CUSTOM_RPROMPT='${prompt_context}%(3V.%F{${AGKOZAK_COLORS_BRANCH_STATUS}%3v%f.)' fi -zplugin load agkozak/agkozak-zsh-prompt -zplugin ice wait'!' lucid -zplugin light "mollifier/anyframe" if [[ -n $commands[fzf] ]] then - zplugin snippet "https://github.com/junegunn/fzf/raw/master/shell/key-bindings.zsh" export FZF_CTRL_T_COMMAND=' (git ls-tree -r --name-only HEAD || fd --hidden --follow --exclude ".git" . | -- cgit 1.4.1