Skip to content

Commit

Permalink
simplify install
Browse files Browse the repository at this point in the history
  • Loading branch information
thornjad committed Mar 1, 2023
1 parent ec47b48 commit 2878a5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Zsh package managers are abundant, but most are bloated, slow or have excessive
Requires `git`.

```
curl -sL --create-dirs https://gitlab.com/thornjad/zpico/-/raw/main/zpico.zsh -o $HOME/.local/lib/zpico/zpico.zsh
curl -sL --create-dirs https://raw.githubusercontent.com/thornjad/zpico/main/zpico.zsh -o $HOME/.local/lib/zpico/zpico.zsh
```

Then add `source $HOME/.local/lib/zpico/zpico.zsh` to your `.zshrc` and reload your shell.
Expand Down
2 changes: 1 addition & 1 deletion zpico.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ _zpico_update() {

_zpico_selfupdate() {
if command -v curl 1>/dev/null 2>&1; then
curl -sL --create-dirs https://gitlab.com/thornjad/zpico/-/raw/main/zpico.zsh -o ${0:A}
curl -sL --create-dirs https://raw.githubusercontent.com/thornjad/zpico/main/zpico.zsh -o ${0:A}
else
print "selfupdate requires curl, please install curl or update zpico manually" && return 1
fi
Expand Down

0 comments on commit 2878a5b

Please sign in to comment.