summary refs log tree commit diff stats
path: root/user/zsh
diff options
context:
space:
mode:
authorAlan Pearce2019-10-09 21:20:40 +0200
committerAlan Pearce2019-10-09 21:20:40 +0200
commit030d1651123b270380a6e7eb92ad17a57f9cacb0 (patch)
tree2d4f9e259a35f99a9e71b0131c78c151a744fd9e /user/zsh
parenta6643cfaf9c0ebc2be15e2c8f32fb3d4a5b35163 (diff)
downloadnixfiles-030d1651123b270380a6e7eb92ad17a57f9cacb0.tar.lz
nixfiles-030d1651123b270380a6e7eb92ad17a57f9cacb0.tar.zst
nixfiles-030d1651123b270380a6e7eb92ad17a57f9cacb0.zip
Replace zplugin with home-manager zsh.plugins
Diffstat (limited to 'user/zsh')
-rw-r--r--user/zsh/.config/zsh/.zshrc39
1 files changed, 0 insertions, 39 deletions
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" . |