mirror of https://github.com/OpenIPC/firmware.git
Add alias for yaml-cli
parent
bd975ce87c
commit
e6875a14aa
|
@ -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 $@); }
|
||||
|
|
Loading…
Reference in New Issue