From 84304cf45b8ebae22027e50809755bf3c15dd1cc Mon Sep 17 00:00:00 2001 From: David Morgan Date: Fri, 15 Apr 2016 04:01:46 -0400 Subject: [PATCH] Fix problem with fetch/wget detection --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 83028f5..8d1a61a 100644 --- a/.bashrc +++ b/.bashrc @@ -190,7 +190,7 @@ alias trunc="colrm 80" alias pc="${HOME}/bin/pocket-cli.py" -[ -x "$(command -v wget)" ] || alias fetch="wget" +[ ! -x "$(command -v fetch)" -a -x "$(command -v wget)" ] && alias fetch="wget" [ -f /etc/debian_version ] && alias psearch="apt-cache search" #alias esv='diatheke -b ESV -k'