diff --git a/.aliases.d/help.sh b/.aliases.d/help.sh index e81c4a6..a6ebaf2 100644 --- a/.aliases.d/help.sh +++ b/.aliases.d/help.sh @@ -37,7 +37,7 @@ alias-help() { cheats=~/cheats/ alias cheats="cd ${cheats}" alias list-cheats='ls -1 ${cheats}*.txt | sed -e "s,${cheats},,g"' -cheat() { +alias-cheat() { if [ -f ~/cheats/$1.txt ]; then less -X ~/cheats/$1.txt else diff --git a/.aliases.d/misc.sh b/.aliases.d/misc.sh index f335e27..3b6dfea 100644 --- a/.aliases.d/misc.sh +++ b/.aliases.d/misc.sh @@ -12,6 +12,8 @@ alias bat='batcat' alias bc='clear;batcat' alias bs='clear;batcat -l bash' alias html='clear;batcat -l html' +alias bpy='clear;batcat -l py3' +alias bphp='clear;batcat -l php' alias o='less' alias print='lpr' diff --git a/.data/sites/cheat.txt b/.data/sites/cheat.txt new file mode 100644 index 0000000..d4eef19 --- /dev/null +++ b/.data/sites/cheat.txt @@ -0,0 +1,3 @@ +Program for console cheat-sheets!! + +https://github.com/cheat/cheat/blob/master/INSTALLING.md diff --git a/cheats/process.txt b/cheats/process.txt new file mode 100644 index 0000000..97a1495 --- /dev/null +++ b/cheats/process.txt @@ -0,0 +1,3 @@ +tar cd - directoryname | tee >(ssh hpie3 tar xf -) >(ssh hpie5 tar xf -) + +## Compress the directory, send to both pies and decompress it)