Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ curl -o install_vet.sh https://getvet.sh/install.sh
```bash
curl -L -o install_vet.sh https://github.com/vet-run/vet/releases/latest/download/install.sh
```
2. **Review the installer's code.** Open it in a text editor or use less to ensure it's not doing anything suspicious. It's a simple script that downloads the correct vet script and moves it to /usr/local/bin.
2. **Review the installer's code.** Open it in a text editor or use `less -U` to ensure it's not doing anything suspicious. It's a simple script that downloads the correct vet script and moves it to /usr/local/bin.
```bash
less install_vet.sh
less -U install_vet.sh
```
3. **Run the installer you just vetted:**
```bash
Expand Down
4 changes: 2 additions & 2 deletions vet
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ if [ -f "$CACHE_FILE_PATH" ]; then
printf "[?] %sShow diff?%s [y/N] " "$C_BOLD" "$C_RESET"
read -n 1 -r REPLY; echo
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
less "$TMPFILE_DIFF"
less -U "$TMPFILE_DIFF"
fi
fi
fi
Expand Down Expand Up @@ -184,7 +184,7 @@ if [ -t 0 ]; then
if [ -n "$BAT_CMD" ]; then
"$BAT_CMD" -l sh --paging=always "$TMPFILE"
else
less "$TMPFILE"
less -U "$TMPFILE"
fi
fi
printf "[?] %sExecute this script?%s [y/N] " "$C_BOLD" "$C_RESET"
Expand Down
Loading