[skip ci] Add differ alias

pull/416/head
Igor Zalatov (from Citadel PC) 2022-08-27 15:19:07 +03:00
parent 0a666dd073
commit 507be932c5
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ export EDITOR='/bin/vi'
cli() { yaml-cli -i /etc/majestic.yaml $@; } 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 && \ [ -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 $@); } chmod +x /tmp/ipctool && echo_c 35 "The ipctool installed as remote GitHub plugin" && /tmp/ipctool $@); }