about summary refs log tree commit diff stats
path: root/home-manager/config/lf/cmds/broot_jump
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/config/lf/cmds/broot_jump')
-rwxr-xr-xhome-manager/config/lf/cmds/broot_jump17
1 files changed, 0 insertions, 17 deletions
diff --git a/home-manager/config/lf/cmds/broot_jump b/home-manager/config/lf/cmds/broot_jump
deleted file mode 100755
index ff62ec90..00000000
--- a/home-manager/config/lf/cmds/broot_jump
+++ /dev/null
@@ -1,17 +0,0 @@
-#! /usr/bin/env dash
-# shellcheck disable=SC2086
-# shellcheck source=/dev/null
-# . ~/.local/lib/shell/lib
-. %SHELL_LIBRARY_PATH
-
-tmp=$(mktmp)
-res="$(broot --outcmd $tmp && cat $tmp | sed 's/cd //')"
-
-if [ -f "$res" ]; then
-    cmd="select"
-elif [ -d "$res" ]; then
-    cmd="cd"
-fi
-
-lf -remote "send $id $cmd \"$res\""
-# vim: ft=sh