From 8089cdbb9b8e4995dbf1dde7f8d2fb2829a92e9a Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 5 May 2026 16:05:02 -0400 Subject: [PATCH] renamed cheat to alias-cheat. --- .aliases.d/help.sh | 2 +- .aliases.d/misc.sh | 2 ++ .data/sites/cheat.txt | 3 +++ cheats/process.txt | 3 +++ 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .data/sites/cheat.txt create mode 100644 cheats/process.txt 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)