1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 21:26:44 +02:00
Files
cheat.sh/share/scripts/get-sheets.sh
T
2018-07-29 21:11:08 +00:00

16 lines
543 B
Bash

#!/bin/bash
## 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 .