diff --git a/README.md b/README.md index e1f2f40..cf66ab5 100644 --- a/README.md +++ b/README.md @@ -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 ⚠️ 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