diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-05-10 18:44:24 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-05-10 18:44:24 +0300 |
commit | 75bbc4439fba7be0e72ab4c17e4aca62d03fc9c6 (patch) | |
tree | c1bb59efe05527c20f546457d8c3266ae5d69c4d | |
parent | b305649e5388924cd83bd11f8659966c8807e1c2 (diff) | |
parent | bc85e46f8b8a548379144732a3218bfe686f2f63 (diff) |
Merge commit 'bc85e46f8b8a548379144732a3218bfe686f2f63'
-rw-r--r-- | gitstatus/README.md | 5 | ||||
-rwxr-xr-x | gitstatus/install | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gitstatus/README.md b/gitstatus/README.md index 4acd2869..f6a00bf1 100644 --- a/gitstatus/README.md +++ b/gitstatus/README.md @@ -473,6 +473,9 @@ want to build in docker (`-d docker`) or to allow automatic downloading of libgi The following code should work. If it doesn't, please open an issue. +**IMPORTANT:** *Change version to what you want to package. This example doesn't get updated when +new versions are released.* + ```zsh curl -fsSLO https://github.com/romkatv/gitstatus/archive/v1.0.0.tar.gz tar -xzf v1.0.0.tar.gz @@ -485,7 +488,7 @@ cd gitstatus-1.0.0 ) ./build rm deps/libgit2-*.tar.gz -for file in gitstatus.plugin.zsh gitstatus.prompt.zsh install; do +for file in *.zsh install; do zsh -fc "zcompile -R -- $file.zwc $file" done ``` diff --git a/gitstatus/install b/gitstatus/install index 464ab821..f747015c 100755 --- a/gitstatus/install +++ b/gitstatus/install @@ -209,13 +209,13 @@ END if command -v curl >/dev/null 2>&1; then if ! err="$(command curl -fsSLo "$archive" -- "$url" 2>&1)"; then >&2 echo "[gitstatus] error: failed to download gitstatusd: $url" - >&2 printf "%s" "$err" + >&2 printf "%s\n" "$err" return 1 fi elif command -v wget >/dev/null 2>&1; then if ! err="$(command wget -O "$archive" -- "$url" 2>&1)"; then >&2 echo "[gitstatus] error: failed to download gitstatusd: $url" - >&2 printf "%s" "$err" + >&2 printf "%s\n" "$err" return 1 fi else |