Преглед на файлове

Try to get zoxide with autocomplete working

Kevin Heinicke преди 1 година
родител
ревизия
f6417a8a70
променени са 2 файла, в които са добавени 6 реда и са изтрити 1 реда
  1. 1 0
      install.conf.yaml
  2. 5 1
      zshrc

+ 1 - 0
install.conf.yaml

@@ -7,6 +7,7 @@
     - ["mkdir -p ~/.config/nvim/{backup,swap,undo}", Creating nvim backup dirs]
     - ["touch ~/.config/nvim/local.vimrc", Touching local vimrc]
     - ["git config --global core.excludesfile ~/.gitignore_global"]
+    - ["git config --global rerere.enabled true"]
 - link:
     ~/.dotfiles: '.'
     ~/.zlogin: zlogin

+ 5 - 1
zshrc

@@ -11,7 +11,8 @@ zplug "zsh-users/zsh-syntax-highlighting", defer:2
 zplug "zsh-users/zsh-history-substring-search", defer:3
 zplug "junegunn/fzf", use:"shell/*.zsh"
 zplug "modules/git", from:prezto
-zplug "modules/completion", from:prezto
+# zplug "modules/completion", from:prezto
+zplug "marlonrichert/zsh-autocomplete", use:zsh-autocomplete.plugin.zsh, depth:1
 zplug "docker/compose", use:contrib/completion/zsh
 zplug "docker/cli", use:contrib/completion/zsh
 zplug "Azure/azure-cli", use:az.completion, defer:3
@@ -97,3 +98,6 @@ bindkey '^[[A' history-substring-search-up
 bindkey '^[[B' history-substring-search-down
 
 [[ ! -f ~/.zsh_local_completions ]] || source ~/.zsh_local_completions
+
+# Better cp -- must go after compinit and stuff
+eval "$(zoxide init zsh)"