summaryrefslogtreecommitdiff
path: root/src/xi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-xsrc/xi.sh10
1 files changed, 9 insertions, 1 deletions
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 $@