From 8f02115e50573be0a5c6653f2a4a2bb6d7459911 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 20 Feb 2022 02:45:55 +0000 Subject: added file lookup --- src/xi.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/xi.sh') diff --git a/src/xi.sh b/src/xi.sh index 0311a56..afff70f 100755 --- a/src/xi.sh +++ b/src/xi.sh @@ -14,7 +14,7 @@ export NOCONFIRM=false while getopts ":r:c:qnluyv" opt; do case "${opt}" in r) - SYSROOT="${OPTARG}" + SYSROOT=$(realpath ${OPTARG}) ;; c) CONF_FILE="${OPTARG}" @@ -66,6 +66,14 @@ else shift search $@ ;; + "files") + shift + files $@ + ;; + "file") + shift + file $@ + ;; *) $DO_SYNC && sync fetch $@ -- cgit v1.2.1