Peter's zsh configuration files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

get 269B

123456789101112131415161718
  1. #!zsh
  2. if which wget > /dev/null; then
  3. wget $1
  4. elif which curl > /dev/null; then
  5. curl -Lo `basename $1` $1
  6. elif which fetch > /dev/null; then
  7. fetch $1
  8. elif which lftpget > /dev/null; then
  9. lftpget $1
  10. else
  11. echo "no http/ftp program installed"
  12. fi