From 3650c7212996175dcf571ab24cf23b1cc5780852 Mon Sep 17 00:00:00 2001 From: Sharan Aithal <32029982+sharan-aithal@users.noreply.github.com> Date: Fri, 23 Apr 2021 19:42:30 +0530 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A7=20Add=20tput=20to=20dependency?= =?UTF-8?q?=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- ugit | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e1f2f40..5ed7289 100644 --- a/README.md +++ b/README.md @@ -44,16 +44,16 @@ **ugit** dependencies: 1. `Bash>=3` -2. GNU utils like `awk`, `grep` etc +2. GNU utils like `awk`, `grep`, `tput` etc 3. [fzf](https://github.com/junegunn/fzf) Install the script using `wget` ```bash # Linux -wget -q https://raw.githubusercontent.com/Bhupesh-V/ugit/master/ugit && chmod +x ugit && mv ugit $HOME/.local/bin/ +wget -q https://raw.githubusercontent.com/Bhupesh-V/ugit/master/ugit -o ugit && chmod +x ugit && mv ugit $HOME/.local/bin/ # Mac -wget -q https://raw.githubusercontent.com/Bhupesh-V/ugit/master/ugit && chmod +x ugit && mv ugit /usr/local/bin +wget -q https://raw.githubusercontent.com/Bhupesh-V/ugit/master/ugit -o ugit && chmod +x ugit && mv ugit /usr/local/bin ``` or `curl` diff --git a/ugit b/ugit index 5bbef80..2289c78 100755 --- a/ugit +++ b/ugit @@ -21,7 +21,7 @@ die() { [[ "${BASH_VERSINFO[0]}" -lt 3 ]] && die "Bash >=3 required" -deps=(fzf git awk xargs cut nl) +deps=(fzf git awk xargs cut nl tput) for dep in "${deps[@]}"; do installed "${dep}" || die "Missing dependency: '${dep}'" done From 49caf20e82d92d5cc450b1da1e61d4896837ce6b Mon Sep 17 00:00:00 2001 From: Sharan Aithal <32029982+sharan-aithal@users.noreply.github.com> Date: Fri, 23 Apr 2021 19:55:10 +0530 Subject: [PATCH 2/2] Update README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5ed7289..cf66ab5 100644 --- a/README.md +++ b/README.md @@ -51,18 +51,18 @@ Install the script using `wget` ```bash # Linux -wget -q https://raw.githubusercontent.com/Bhupesh-V/ugit/master/ugit -o ugit && chmod +x ugit && mv ugit $HOME/.local/bin/ +wget -q https://raw.githubusercontent.com/Bhupesh-V/ugit/master/ugit && chmod +x ugit && mv ugit $HOME/.local/bin/ # Mac -wget -q https://raw.githubusercontent.com/Bhupesh-V/ugit/master/ugit -o ugit && chmod +x ugit && mv ugit /usr/local/bin +wget -q https://raw.githubusercontent.com/Bhupesh-V/ugit/master/ugit && chmod +x ugit && mv ugit /usr/local/bin ``` or `curl` ```bash # Linux -curl -fsSL https://raw.githubusercontent.com/Bhupesh-V/ugit/master/ugit && chmod +x ugit && mv ugit $HOME/.local/bin/ +curl -fsSL https://raw.githubusercontent.com/Bhupesh-V/ugit/master/ugit -o ugit && chmod +x ugit && mv ugit $HOME/.local/bin/ # Mac -curl -fsSL https://raw.githubusercontent.com/Bhupesh-V/ugit/master/ugit && chmod +x ugit && mv ugit /usr/local/bin +curl -fsSL https://raw.githubusercontent.com/Bhupesh-V/ugit/master/ugit -o ugit && chmod +x ugit && mv ugit /usr/local/bin ``` ## Please read ⚠️