diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2020-11-03 05:48:58 +0200 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2020-11-03 05:48:58 +0200 |
| commit | a4f9cb96e9d6a82141beef46d4f676fa1c5b9b23 (patch) | |
| tree | 4f9484cc5d46be191a6a0931b8d9aed912c103af | |
| parent | 4bcc18e9a6e24ccf7aa095708fc277e8b1aca1f8 (diff) | |
| download | pfetch-a4f9cb96e9d6a82141beef46d4f676fa1c5b9b23.tar.gz | |
oops
| -rwxr-xr-x | pfetch | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ # spamming '>/dev/null' throughout this function. This also guards # against aliases and functions. has() { - _cmd=$(command -v "$1") >/dev/null || return 1 + _cmd=$(command -v "$1") 2>/dev/null || return 1 [ -x "$_cmd" ] || return 1 } |
