Skip to content

What is the main difference between source and install #243

Closed Answered by marlonrichert
RayZ0rr asked this question in Q&A
Discussion options

You must be logged in to vote

source is for starting plugins. install is for making new commands or completions available to you. The latter originally it made symlinks to executables and functions, like a package manager would. However, I decided that is not the best way to do things, since it requires all kinds of maintenance. Thus, now it simply adds things to your $path or $fpath and autoloads functions for you. As such, it really doesn't contain much logic anymore that you couldn't add to your .zshrc file yourself. I will probably deprecate it soon and then remove it some time later.

So, given the repos you listed, this is the correct code to add to your .zshrc file:

znap clone zsh-users/zsh-completions
$fpath=( ~[…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RayZ0rr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants