1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-12-03 03:24:22 +03:00
cheat.sh/share/scripts/get-sheets.sh

16 lines
541 B
Bash

#!/bin/sh
## this doesn't error check, if it breaks and destroys things I'm sorry
mkdir cheatsheets
cd cheatsheets
mkdir cheat tldr spool
git clone --recursive https://github.com/adambard/learnxinyminutes-docs
git clone --recursive https://github.com/chrisallenlane/cheat cheat-temp
mv cheat-temp/cheat/cheatsheets/* cheat
rm -rf cheat-temp
git clone --recursive http://github.com/tldr-pages/tldr tldr-temp
mv tldr-temp/pages/* tldr
rm -rf tldr-temp
git clone --recursive https://github.com/chubin/cheat.sheets.git
mv cheat.sheets/sheets .