You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/INSTALL.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
Many distributions have packages ready to go.
4
4
If yours doesn't, you can install [from source](#installing-from-source).
5
+
VCSH can also be deployed as a [standalone script](#standalone-script).
5
6
If you package VCSH for a distro please let us know.
6
7
7
8
## Arch Linux
@@ -124,4 +125,29 @@ $ make DESTDIR="$HOME" install-exec
124
125
125
126
This will install to `~/bin/vcsh`; add `~/bin` to your path to use.
126
127
128
+
# Standalone Script
129
+
130
+
A special variant of VCSH can be deployed as a single POSIX shell script with no configure/build step.
131
+
Deploying it this way leaves you without any man page or shell completion functions (or possibly with mismatched resources installed by your package manager for a different vcsh version).
132
+
This variant is also dependent or your `$PATH` to have proper versions of dependencies such as `git`.
133
+
If your user space has different tools by default than your system beware!
134
+
135
+
The standalone variant can be downloaded from any recent entry in [releases](https://github.com/RichiH/vcsh/releases).
136
+
137
+
This method is suited for installation to a user space where you don't have control over the system packages, e.g.:
It could also be used to directly bootstrap a dotfiles repository with something like this:
146
+
147
+
```console
148
+
$ sh <(curl -fsLS https://github.com/RichiH/vcsh/releases/latest/download/vcsh-standalone.sh) clone <path_to_your_dotfiles_repo> dotfiles
149
+
```
150
+
151
+
While we are enabling cURL-based workflows on purpose, we still encourage you to avoid them where reasonably possible. If you do use it, please consider using a tagged version that you've tested to work for you instead of the "latest" keyword.
0 commit comments