From 3366f161a7f79c8d70262ef1764172c2eab9334e Mon Sep 17 00:00:00 2001 From: Igor Zalatov Date: Sat, 27 Aug 2022 18:35:58 +0300 Subject: [PATCH] Sync of work (#416) --- general/overlay/etc/profile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/general/overlay/etc/profile b/general/overlay/etc/profile index f4898fc9..69b576ca 100644 --- a/general/overlay/etc/profile +++ b/general/overlay/etc/profile @@ -32,6 +32,8 @@ export EDITOR='/bin/vi' cli() { yaml-cli -i /etc/majestic.yaml $@; } +differ() { diff -rN "/rom$1" "$1"; } + [ -x /tmp/ipctool ] || ipctool() { [ -x /tmp/ipctool ] && /tmp/ipctool $@ || (curl -s -L -o /tmp/ipctool https://github.com/OpenIPC/ipctool/releases/download/latest/ipctool$ARC && \ chmod +x /tmp/ipctool && echo_c 35 "The ipctool installed as remote GitHub plugin" && /tmp/ipctool $@); }