diff options
author | David Morgan <david.morgan@gmail.com> | 2016-04-15 04:01:46 -0400 |
---|---|---|
committer | David Morgan <david.morgan@gmail.com> | 2016-04-15 04:01:46 -0400 |
commit | 84304cf45b8ebae22027e50809755bf3c15dd1cc (patch) | |
tree | 7db70d6440f8cf19d42a9ef637947d875a423dc5 | |
parent | ade306101be402e39d4b69cf2088fdf63d95fd02 (diff) | |
download | dotfiles-84304cf45b8ebae22027e50809755bf3c15dd1cc.tar.gz |
Fix problem with fetch/wget detection
-rw-r--r-- | .bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
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' |