From e6875a14aae94d6f8238bfeeedf1b0d32497f414 Mon Sep 17 00:00:00 2001
From: "Igor Zalatov (from Citadel PC)" <flyrouter@gmail.com>
Date: Thu, 21 Jul 2022 09:51:57 +0300
Subject: [PATCH] Add alias for yaml-cli

---
 general/overlay/etc/profile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/general/overlay/etc/profile b/general/overlay/etc/profile
index 5e7f614b..c7b4e944 100644
--- a/general/overlay/etc/profile
+++ b/general/overlay/etc/profile
@@ -19,8 +19,12 @@ fi
 export EDITOR='/bin/vi'
 
 
+
+
 [ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; }
 
+cli() { yaml-cli -i /etc/majestic.yaml $@ }
+
 #[ -x /tmp/ipctool ] || ipctool() { [ -x /tmp/ipctool ] && /tmp/ipctool $@ || (curl -s -L -o /tmp/ipctool https://github.com/OpenIPC/ipctool/releases/download/latest/ipctool-$(uname -m) && \
 [ -x /tmp/ipctool ] || ipctool() { [ -x /tmp/ipctool ] && /tmp/ipctool $@ || (curl -s -L -o /tmp/ipctool https://github.com/OpenIPC/ipctool/releases/download/latest/ipctool && \
   chmod +x /tmp/ipctool && echo -e "\n\e[1;35mThe ipctool installed as remote GitHub plugin\e[0m\n" && /tmp/ipctool $@); }