summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranav Shikarpur <contact@snpranav.com>2020-09-19 16:25:57 -0400
committerPranav Shikarpur <contact@snpranav.com>2020-09-19 16:25:57 -0400
commitbe55dd94a2a299fb85bc505ea9ed7bc39788bb8e (patch)
treec795a2e939e9a00226b1f6d321abbac46d7111eb
parent8642540c1bad18fc3cf942a6f3bb959bd9e35f1f (diff)
Updated README and added instructions to the script
-rw-r--r--README.md2
-rwxr-xr-xgtop-docker.sh8
2 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index c46974f..eb0d8e8 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ $ docker run --rm -it \
Run gtop in your terminal using the `gtop` command, but in a docker container by running the following lines.
```sh
-$ sh -c "$(curl -fSsL https://raw.githubusercontent.com/snpranav/gtop/master/gtop-docker.sh)"
+$ sh -c "$(curl -fSsL https://raw.githubusercontent.com/aksakalli/gtop/master/gtop-docker.sh)"
$ gtop # Run gtop from your terminal whenever you want to open gtop.
```
diff --git a/gtop-docker.sh b/gtop-docker.sh
index 9dcf2a7..a5824c4 100755
--- a/gtop-docker.sh
+++ b/gtop-docker.sh
@@ -1,5 +1,13 @@
#!/bin/sh
+#########################################
+# Run gtop in your terminal using the `gtop` command, but in a docker container by running the following lines.
+# ```sh
+# $ sh -c "$(curl -fSsL https://raw.githubusercontent.com/aksakalli/gtop/master/gtop-docker.sh)"
+
+# $ gtop # Run gtop from your terminal whenever you want to open gtop.
+#########################################
+
sudo tee /usr/local/bin/gtop > /dev/null << EOF
docker run --rm -it \
--name gtop-from-executable \