aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Rumbaugh <doug@douglasrumbaugh.com>2021-12-20 17:58:48 -0500
committerDouglas Rumbaugh <doug@douglasrumbaugh.com>2021-12-20 17:59:14 -0500
commit9dd607d38c8bfbf4028b77ff5f0b186f6224429c (patch)
tree4c5734f951f88e954be2cd408af09748d8d94c2d
parentc581b6fc96ddc4b72753a6b1ac81812bbbace52d (diff)
downloadsh-ves-9dd607d38c8bfbf4028b77ff5f0b186f6224429c.tar.gz
Renamed variable manipulation script
-rw-r--r--README.md4
-rw-r--r--ves-var-add.sh (renamed from ves-append-var.sh)0
-rw-r--r--ves-var-rm.sh1
3 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index e56515b..24460d1 100644
--- a/README.md
+++ b/README.md
@@ -69,13 +69,13 @@ related to adding and removing elements from these variables.
To add an entry to a path-like variable,
```bash
-$ ves add <variable> <value>
+$ ves var-add <variable> <value>
```
will prepend `<value>:` to the specified variable.
To remove an entry from a path-like variable,
```bash
-ves rm <variable> <value>
+ves var-rm <variable> <value>
```
will remove `<value>:` from a path-like variable, if it is present.
diff --git a/ves-append-var.sh b/ves-var-add.sh
index 1a24852..1a24852 100644
--- a/ves-append-var.sh
+++ b/ves-var-add.sh
diff --git a/ves-var-rm.sh b/ves-var-rm.sh
new file mode 100644
index 0000000..1a24852
--- /dev/null
+++ b/ves-var-rm.sh
@@ -0,0 +1 @@
+#!/bin/sh