about summary refs log tree commit diff stats
path: root/pkgs/by-name/ll/ll/ll.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xpkgs/by-name/ll/ll/ll.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/pkgs/by-name/ll/ll/ll.sh b/pkgs/by-name/ll/ll/ll.sh
deleted file mode 100755
index 73328e3e..00000000
--- a/pkgs/by-name/ll/ll/ll.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env dash
-
-# shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH
-
-last_directory="$(mktemp)"
-
-command lf -last-dir-path="$last_directory" "$@"
-
-dir="$(cat "$last_directory")"
-if cd "$dir"; then
-    [ -d "$XDG_RUNTIME_DIR/ll" ] || mkdir "$XDG_RUNTIME_DIR/ll"
-    echo "$dir" >"$XDG_RUNTIME_DIR/ll/last_directory"
-else
-    die "$dir does not exist!"
-fi
-
-rm "$last_directory"
-# vim: ft=sh