summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-12-21 14:38:05 +0100
committerAlan Pearce2018-12-21 14:38:05 +0100
commit19c4e23c0dbee838d6328b9808fcea465c9f706a (patch)
tree1d6354e42ea3cd2c449ba6ec92fb35b872859303
parentf9456a2a7bfaabb42d9965ff514052047899b67a (diff)
downloaddotfiles-19c4e23c0dbee838d6328b9808fcea465c9f706a.tar.lz
dotfiles-19c4e23c0dbee838d6328b9808fcea465c9f706a.tar.zst
dotfiles-19c4e23c0dbee838d6328b9808fcea465c9f706a.zip
zsh: Fix kube-aliases fixup
-rw-r--r--zsh/.config/zsh/.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 8252b16..4dca6ec 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -124,7 +124,7 @@ zplugin ice blockf wait'0' lucid
 zplugin light "zsh-users/zsh-completions"
 zplugin ice wait'1' lucid
 zplugin light "hlissner/zsh-autopair"
-zplugin ice atload'alias kx=kubectx' cp'kube-aliases.plugin.zsh -> kube.plugin.zsh' atclone'sed -i s+"$ZSH_CUSTOM/plugins/zsh-kubernetes+$PWD+" kube.plugin.zsh' atpull'%atclone' pick'kube.plugin.zsh'
+zplugin ice atload'alias kx=kubectx' atclone'sed -i s+"\$ZSH_CUSTOM/plugins/zsh-kubernetes+$PWD+" kube-aliases.plugin.zsh' atpull'%atclone' atpull'!git reset --hard .'
 zplugin light "dbz/kube-aliases"
 zplugin ice wait'1' lucid atinit'alias cdg=cd-gitroot'
 zplugin load "mollifier/cd-gitroot"