Advertisement
Jackspade9624

.zshrc autocomplete

Mar 17th, 2025
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. https://github.com/ghoste9624/zsh-autocomplete
  2.  
  3. https://github.com/ghoste9624/zsh-snap
  4.  
  5. git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git
  6.  
  7. nano $HOME/.zshrc
  8.  
  9. [[ -r ~/Repos/znap/znap.zsh ]] ||
  10. git clone --depth 1 -- https://github.com/marlonrichert/zsh-snap.git ~/Repos/znap
  11. source ~/Repos/znap/znap.zsh
  12.  
  13. # `znap prompt` makes your prompt visible in just 15-40ms!
  14. znap prompt sindresorhus/pure
  15.  
  16. # `znap source` starts plugins.
  17. znap source marlonrichert/zsh-autocomplete
  18.  
  19. # `znap eval` makes evaluating generated command output up to 10 times faster.
  20. znap eval iterm2 'curl -fsSL https://iterm2.com/shell_integration/zsh'
  21.  
  22. # `znap function` lets you lazy-load features you don't always need.
  23. znap function _pyenv pyenv "znap eval pyenv 'pyenv init - --no-rehash'"
  24. compctl -K _pyenv pyenv
  25.  
  26. # `znap install` adds new commands and completions.
  27. znap install aureliojargas/clitest zsh-users/zsh-completions
  28.  
  29. exit, new session
  30.  
  31. exec zsh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement