Merge pull request #2 from sharan-aithal/feature

Update ugit
This commit is contained in:
Bhupesh Varshney 2021-04-23 20:05:16 +05:30 committed by GitHub
commit dff20df26d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -44,7 +44,7 @@
**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`
@ -60,9 +60,9 @@ 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 ⚠️

2
ugit
View file

@ -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