aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8e79d72..efcdcf5 100644
--- a/README.md
+++ b/README.md
@@ -9,18 +9,26 @@ package contains a given file. Reads the package database in
```
is_installed <item> # search package names for <item>
is_installed file-search <item> # search file contents of every package for <item>
-is_installed info <item> # less the matching package manifest
+is_installed info <item> # less the manifest of the single match (lists candidates if many)
is_installed help # show help
```
## Install
+System-wide:
+
```
install -m 0755 is_installed /usr/local/bin/is_installed
install -m 0644 is_installed.bash-completion \
/usr/share/bash-completion/completions/is_installed
```
+Per-user (no root, needs `~/bin` on your PATH):
+
+```
+install -Dm0755 is_installed ~/bin/is_installed
+```
+
## License
GPLv2. See [LICENSE](LICENSE).