From 54b772cae06eb25adf33297e35234f33ded81a7b Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sat, 12 Mar 2022 19:54:51 +0530 Subject: neovim addition --- .scripts/sxivf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .scripts/sxivf (limited to '.scripts/sxivf') diff --git a/.scripts/sxivf b/.scripts/sxivf new file mode 100755 index 0000000..a555a73 --- /dev/null +++ b/.scripts/sxivf @@ -0,0 +1,8 @@ +#!/bin/sh + +if command -v sxiv >/dev/null 2>&1; then + if [ -d "${@: -1}" ] || [ -h "${@: -1}" ]; then + sxiv -t "$@" + else + sxiv "$@" +fi -- cgit v1.2.3