function crush_install
set -l url $argv[1]
if test -z "$url"
echo "Usage: crush_install <url>"
return 1
end
set -l filename (basename $url)
set -l archive_name (string replace -r '\.tar\.gz$' '' $filename)
cd ~/bin
curl -LO $url
tar -xzf $filename
rm $filename
rm -rf crush-cli/
mv $archive_name crush-cli
end